GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation allows exporting relations of a specific GitLab group by making a POST request to the GitLab API endpoint `/api/v4/groups/{id}/export_relations`. It is useful for scenarios where you need to export group-related data such as project relations or memberships for backup, migration, or analysis purposes.

Use Case Examples

  1. Exporting all relations of a GitLab group to migrate to another instance.
  2. Backing up group relations data for audit or compliance.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated endpoints.
Authentication Select the authentication method, typically an API key credential for GitLab.
baseUrl 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 relations for.

Output

JSON

  • id - The ID of the group for which relations are exported.
  • export_status - Status of the export operation.
  • exported_data - The exported relations data from the group, structure depends on GitLab API response.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID provided in path parameters is valid and accessible with the authenticated user.
  • Check that the API key has sufficient permissions to export group relations.
  • If skipping authentication, verify the endpoint supports unauthenticated access, otherwise the request will fail.
  • Common errors include 401 Unauthorized (invalid or missing API key) and 404 Not Found (invalid group ID).

Links

Discussion