GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation allows users to authorize a group import in GitLab via the API endpoint `/api/v4/groups/import/authorize`. It is useful for automating the process of importing groups into GitLab, especially in scenarios where bulk group imports or migration tasks are needed. For example, a DevOps engineer might use this node to programmatically authorize group imports as part of a CI/CD pipeline or migration script.

Use Case Examples

  1. Automating group import authorization during GitLab migration.
  2. Integrating group import authorization into a custom GitLab management workflow.

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. Hidden if Skip Authentication is true.
baseUrl The base URL of the GitLab instance to which the API request is sent. Defaults to https://gitlab.com.
Method The HTTP method to use for the request. Defaults to GET but can be set to POST, PUT, DELETE, HEAD, or PATCH.
Parameter Schema Hidden property for the parameter schema of the request, specific to the operation.
Request Body Schema Hidden property for the request body schema, specific to the operation.
Request Path The API endpoint path for the group import authorization operation, fixed 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

  • If authentication fails, ensure the GitLab API key credential is correctly configured and has the necessary permissions.
  • If the API request returns an error, verify the baseUrl is correct and the GitLab instance is accessible.
  • Check that the HTTP method is appropriate for the operation; typically, POST is used for authorization actions.

Links

Discussion