GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves the container registry repositories for a specific GitLab group using the GitLab API. It is useful for users who want to list or manage container images stored in the GitLab container registry associated with a group. For example, a DevOps engineer might use this node to automate the retrieval of container repositories for auditing or cleanup purposes.

Use Case Examples

  1. Retrieve all container registry repositories for a group by specifying the group ID.
  2. Paginate through container registry repositories by setting the 'page' and 'per_page' query parameters.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication when making the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance to which the API requests are sent.
Method The HTTP method used for the API request.
Query Parameters Optional query parameters to control pagination of the results.
Path Parameters Path parameters required for the API endpoint.

Output

JSON

  • repositories
    • ``
      * id - The unique identifier of the container registry repository.
      * name - The name of the container registry repository.
      * path - The path of the container registry repository.
      * location - The location URL of the container registry repository.
      * created_at - The creation timestamp of the container registry repository.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the group ID provided in the path parameters is correct and accessible by the authenticated user.
  • Verify that the API token or authentication credentials have the necessary permissions to access the container registry.
  • Check the base URL to ensure it points to the correct GitLab instance.
  • If pagination parameters are used, ensure they are valid integers and within allowed ranges.

Links

Discussion