GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves details of a specific GitLab bulk import by its import ID. It is useful for monitoring the status or results of a bulk import migration in GitLab. For example, a user can fetch the current state of a migration process by providing the import ID.

Use Case Examples

  1. Fetch the status of a GitLab bulk import migration by specifying the import ID.
  2. Monitor progress or errors of a bulk import migration in GitLab.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, 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.
Path Parameters Parameters to be included in the request path, specifically the import_id which identifies the bulk import to retrieve.

Output

JSON

  • id - The unique identifier of the bulk import.
  • status - Current status of the bulk import.
  • created_at - Timestamp when the bulk import was created.
  • updated_at - Timestamp when the bulk import was last updated.
  • failures - Details of any failures encountered during the bulk import.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the import_id path parameter is provided and is valid; missing or incorrect import_id will cause request failure.
  • If authentication is enabled, verify that the GitLab API key credential is correctly configured and has sufficient permissions.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure it is correct.
  • Common error messages include 404 Not Found if the import_id does not exist, or 401 Unauthorized if authentication fails.

Links

Discussion