GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves the transfer locations available for a specific project in GitLab using the GitLab API. It is useful for scenarios where you need to find namespaces to which a project can be transferred, such as during project migration or reorganization within GitLab.

Use Case Examples

  1. Get transfer locations for a project by specifying the project ID to see possible namespaces for project transfer.
  2. Search for namespaces matching specific criteria to filter transfer locations.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, default is 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 or paginate results.
Path Parameters Path parameters required for the API call.

Output

JSON

  • id - The ID of the transfer location namespace.
  • 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 namespace.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID is correctly provided in the path parameters; missing or incorrect ID will cause API errors.
  • Verify that the GitLab API key credential is valid and has sufficient permissions to access project transfer locations.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.
  • Pagination parameters (page, per_page) should be valid integers; invalid values may cause request failures.

Links

Discussion