GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves the transfer locations available for a specific GitLab group by its ID. It is useful for scenarios where you need to find out to which namespaces a group can be transferred within GitLab, such as during group management or migration tasks.

Use Case Examples

  1. Fetch transfer locations for a GitLab group to determine possible namespaces for group migration.
  2. Use the search query parameter to filter namespaces by name when looking for transfer options.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, defaulting to GitLab API key.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Query Parameters Optional query parameters to filter and paginate results.
Path Parameters Path parameters required for the request.

Output

JSON

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

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the group ID provided in the path parameters is valid and exists in the GitLab instance.
  • Verify that the API key credential has sufficient permissions to access group transfer locations.
  • Check the baseUrl is correctly set to the GitLab instance URL if using a self-hosted GitLab.
  • Common error messages include 404 Not Found if the group ID does not exist, and 401 Unauthorized if authentication fails.

Links

Discussion