GitLab API

GitlabTool

Actions905

Overview

This node interacts with the GitLab API to perform the 'postApiV4GroupsImportAuthorize' operation, which authorizes the import of groups into GitLab. It is useful for automating group import authorization processes within GitLab, such as when migrating or syncing group data programmatically.

Use Case Examples

  1. Automate authorization for importing groups into GitLab during a migration process.
  2. Integrate GitLab group import authorization into a CI/CD pipeline to streamline project setup.

Properties

Name Meaning
Skip Authentication Determines whether to skip the authentication step for the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request, defaulting to GET but can be POST, PUT, DELETE, HEAD, or PATCH.
Parameter Schema Hidden property for the parameter schema of the API request, relevant for the 'postApiV4GroupsImportAuthorize' operation.
Request Body Schema Hidden property for the request body schema of the API request, relevant for the 'postApiV4GroupsImportAuthorize' operation.
Request Path The API endpoint path for the 'postApiV4GroupsImportAuthorize' operation, set to '/api/v4/groups/import/authorize'.

Output

JSON

  • response - The JSON response from the GitLab API for the group import authorization request.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the GitLab API key credential is correctly configured and has sufficient permissions to authorize group imports.
  • Verify the baseUrl is correctly set to the target GitLab instance URL.
  • Check that the HTTP method is set appropriately, typically POST for this operation.
  • If the API returns authentication errors, confirm that 'Skip Authentication' is not enabled unless intended.

Links

Discussion