GitLab API

GitlabTool

Actions1000

Overview

This node operation downloads the export of a specific project from GitLab using the GitLab API v4. 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 store them securely 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 instance.

Properties

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

Output

JSON

  • id - The ID or URL-encoded path of the project used in the request.
  • exportFile - The downloaded project export file content or metadata.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID provided in the path parameters is correct and accessible with the provided authentication.
  • If authentication is skipped, the request may fail due to lack of permissions.
  • Verify the baseUrl is correct and points to a valid GitLab instance.
  • Check network connectivity and API rate limits if the request fails.

Links

Discussion