GitLab API

GitlabTool

Actions1000

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 Whether to skip authentication for the API request.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is POST 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 - The status of the export process.
  • exported_at - Timestamp when the export was completed.

Dependencies

  • GitLab API authentication

Troubleshooting

  • Ensure the group ID provided in path parameters is valid and accessible by the authenticated user.
  • Check that the GitLab API credentials are correctly configured and have sufficient permissions to export groups.
  • If skipping authentication, ensure the GitLab instance allows unauthenticated export requests, which is uncommon.

Links

Discussion