GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves the transfer locations for a specific group in GitLab using the GitLab API. It is useful for scenarios where you need to find out the namespaces or groups to which a particular GitLab group can be transferred. For example, an administrator might use this to check available transfer destinations before moving a group.

Use Case Examples

  1. Retrieve transfer locations for a GitLab group by specifying the group's ID.
  2. Search for namespaces matching a search term to filter transfer locations.
  3. Paginate through transfer locations using page and per_page parameters.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Query Parameters Optional query parameters to filter and paginate the results, including search term, page number, and items per page.
Path Parameters Path parameters required for the request, specifically the group ID to identify the group whose transfer locations are being retrieved.

Output

JSON

  • id - The unique identifier of the transfer location.
  • name - The name of the transfer location namespace.
  • path - The path of the transfer location namespace.
  • kind - The kind of namespace (e.g., group or user).
  • full_path - The full path of the transfer location namespace.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the group ID provided in the path parameters is valid and exists in the GitLab instance.
  • Verify that the authentication credentials are correctly configured unless Skip Authentication is enabled.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure it is correct.
  • If pagination parameters (page, per_page) are used, ensure they are valid integers to avoid request errors.

Links

Discussion