GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation allows downloading the export of a specific project from GitLab using the GitLab API. It is useful for scenarios where users need to programmatically retrieve project export files for backup, migration, or analysis purposes. For example, a user can automate the download of project exports to maintain regular backups or to transfer project data between GitLab instances.

Use Case Examples

  1. Automate downloading project export files for backup.
  2. Retrieve project export data for migration to another GitLab server.

Properties

Name Meaning
Skip Authentication Option to skip authentication when making the API request.
Authentication Type of authentication used for the API request, defaulting to GitLab API key.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method used for the request, default is GET.
Path Parameters Parameters to be included in the request path, specifically the project ID or URL-encoded path.

Output

Binary

The node outputs the binary data of the project export file downloaded from GitLab.

JSON

  • id - The ID or URL-encoded path of the project used in the request path parameter.

Dependencies

  • GitLab API key credential for authentication.

Troubleshooting

  • Ensure the project ID provided in the path parameters is correct and accessible with the provided authentication.
  • If skipping authentication, verify that the GitLab instance allows unauthenticated access to project exports.
  • Check the baseUrl to ensure it points to the correct GitLab instance.
  • Common errors include authentication failures, invalid project ID, or network issues. Verify credentials and network connectivity.

Links

Discussion