GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation allows downloading export relations of a specific project from the GitLab API. It is useful for scenarios where you need to programmatically retrieve project export data, such as project backups or related export files, optionally in batches. For example, you can download a project's export relations by specifying the project ID and the relation name, and optionally control batch downloading.

Use Case Examples

  1. Download export relations for a project by providing the project ID and relation name.
  2. Download export relations in batches by specifying batch parameters.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the request.
Authentication The authentication method to use, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Query Parameters Query parameters for the request including relation name, batched flag, and batch number.
Path Parameters Path parameters for the request including the project ID.

Output

JSON

  • id - The project ID used in the request path.
  • relation - The project relation name specified in the query parameters.
  • batched - Indicates if the download is batched.
  • batch_number - The batch number to download, if applicable.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the project ID and relation name are correctly specified; missing or incorrect values may cause request failures.
  • If authentication is enabled, verify that the GitLab API credentials are valid and have sufficient permissions.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.
  • For batch downloads, ensure batch parameters are correctly set to avoid incomplete or failed downloads.

Discussion