GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API to authorize group imports via the endpoint `/api/v4/groups/import/authorize`. It is useful for automating the process of authorizing group imports in GitLab, which can be part of larger workflows involving GitLab group management or migration tasks.

Use Case Examples

  1. Automate authorization of group imports in GitLab during migration workflows.
  2. Integrate GitLab group import authorization into CI/CD pipelines to streamline project setup.

Properties

Name Meaning
Skip Authentication If set to true, the node will skip using authentication for the request.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication. Hidden if Skip Authentication is true.
baseUrl The base URL for the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Parameter Schema Hidden property for parameter schema related to the operation, used internally.
Request Body Schema Hidden property for request body schema related to the operation, used internally.
Request Path The API endpoint path for the group import authorization, 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 authentication credential

Troubleshooting

  • Ensure the GitLab API credentials are correctly configured and have the necessary permissions to authorize group imports.
  • If skipping authentication, verify that the GitLab instance allows unauthenticated requests to this endpoint, otherwise the request will fail.
  • Check the baseUrl property to ensure it points to the correct GitLab instance URL.
  • Common errors include authentication failures (401 Unauthorized) and permission issues (403 Forbidden). Verify token scopes and user permissions in GitLab.

Links

Discussion