GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation performs a POST request to the GitLab API endpoint for exporting a group by its ID. It is useful for automating the export of group data from GitLab, which can be beneficial for backup, migration, or auditing purposes. For example, a user can trigger this node to export a specific GitLab group and then use the exported data in subsequent workflow steps.

Use Case Examples

  1. Export a GitLab group by specifying its ID to create a backup of the group's data.
  2. Automate the export process of multiple GitLab groups by iterating over group IDs and calling this node operation.

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 API request, defaulting to POST for this operation.
Path Parameters Parameters 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.
  • export_error - Any error message related to the export process.
  • export_download_url - URL to download the exported group data.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID provided in the path parameters is valid and exists in the GitLab instance.
  • Verify that the API key credential has sufficient permissions to export groups.
  • Check the base URL to confirm it points to the correct GitLab instance.
  • If the export fails, review the export_error field in the response for details.

Links

Discussion