GitLab API

GitlabTool

Actions1000

Overview

This node operation allows downloading export relations of a specific project from the GitLab API (v4). It is useful for scenarios where you need to programmatically retrieve related export data of a project, such as project metadata or associated resources, potentially in batches for large datasets.

Use Case Examples

  1. Downloading export relations for a project by specifying the project ID and relation name.
  2. Downloading export relations in batches by specifying batch number and enabling batched download.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the request.
Authentication The authentication method used, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, defaulting to GET.
Query Parameters Parameters to specify the relation name, whether to download in batches, and the batch number.
Path Parameters Path parameter specifying the project ID or URL-encoded path.

Output

JSON

  • data - The downloaded export relation data of the project.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID and relation name are correctly specified; otherwise, the API may return errors or no data.
  • If authentication is skipped, ensure the GitLab instance allows unauthenticated access to this endpoint, or the request will fail.
  • Check that the base URL is correct and reachable to avoid connection errors.
  • For batch downloads, ensure batch_number is within valid range and batched flag is correctly set to avoid incomplete or failed downloads.

Links

Discussion