GitLab API

GitlabTool

Actions1000

Overview

This node operation triggers the export of a specific project in GitLab by sending a POST request to the GitLab API endpoint `/api/v4/projects/{id}/export`. It is useful for automating project export tasks, such as backing up project data or migrating projects between GitLab instances.

Use Case Examples

  1. Automatically export a project before performing maintenance tasks.
  2. Schedule regular exports of projects for backup purposes.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, typically a GitLab API key credential.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the request, default is POST for this operation.
Path Parameters Parameters included in the request path, specifically the project ID or URL-encoded path.

Output

JSON

  • status - The status of the export request or operation.
  • message - Any message returned from the API regarding the export operation.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID provided in the path parameters is correct and accessible with the authenticated user.
  • Verify that the GitLab API key credential has sufficient permissions to export projects.
  • If skipping authentication, confirm that the GitLab instance allows unauthenticated export requests, which is uncommon.
  • Check the base URL to ensure it points to the correct GitLab instance.

Links

Discussion