GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation triggers the export of a GitLab group by making a POST request to the GitLab API endpoint `/api/v4/groups/{id}/export`. It is useful for automating the process of exporting group data from GitLab, such as for backup or migration purposes.

Use Case Examples

  1. Automate exporting a GitLab group before performing major changes.
  2. Schedule regular exports of GitLab groups for backup.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used for the request, defaulting to GitLab API key.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET but POST is used for this operation.
Path Parameters Parameters to be included in the request path, specifically the group ID to export.

Output

JSON

  • id - The ID of the group being exported.
  • export_status - Status of the export process.
  • export_error - Any error message related to the export process.
  • exported_at - Timestamp when the export was completed.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the group ID provided in the path parameters is valid and accessible by the authenticated user.
  • Check that the GitLab API key credential is correctly configured and has sufficient permissions to export groups.
  • If skipping authentication, ensure the GitLab instance allows unauthenticated export requests, which is uncommon.
  • Common error messages include 404 Not Found if the group ID does not exist, 401 Unauthorized if authentication fails, and 403 Forbidden if permissions are insufficient.

Links

Discussion