GitLab API

GitlabTool

Actions905

Overview

This node operation downloads export relations of a specific project from the GitLab API (v4). It is useful for retrieving related export data of a project, such as associated resources or metadata, optionally in batches. For example, a user can download all export relations of a project or download them in parts by specifying batch numbers.

Use Case Examples

  1. Download all export relations of a project by providing the project ID and relation name.
  2. Download export relations in batches by setting the 'batched' parameter to true and specifying the batch number.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the request.
Authentication The authentication method used for the request, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to send the request to.
Method The HTTP method used for the request, defaulting to GET.
Query Parameters Query parameters for the request, including relation name, whether to download in batches, and batch number.
Path Parameters Path parameters for the request, specifically the project ID or URL-encoded path.

Output

JSON

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

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID is correct and accessible with the provided authentication.
  • Verify that the relation name is valid and exists for the project.
  • If using batching, ensure batch_number is within the valid range and batched is set correctly.
  • Check network connectivity and baseUrl correctness if requests fail.

Links

Discussion