GitLab API icon

GitLab API

Gitlab

Actions880

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. Automate exporting a project before major updates to ensure data backup.
  2. Schedule regular exports of projects for archival purposes.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API key authentication.
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 to identify the project to export.

Output

JSON

  • export_status - The status of the export process for the project.
  • export_download_url - The URL to download the exported project archive once the export is complete.

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.
  • Check that the GitLab API base URL is correct and reachable.
  • If skipping authentication, ensure the GitLab instance allows unauthenticated export requests, which is uncommon.
  • Common error messages include 404 Not Found if the project ID is invalid or inaccessible, and 401 Unauthorized if authentication fails.

Links

Discussion