GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves details of a specific GitLab bulk import by its import ID. It is useful for monitoring or managing GitLab migration imports programmatically. For example, a user can fetch the status or metadata of a migration import by providing the import ID.

Use Case Examples

  1. Fetch details of a GitLab migration import by specifying the import ID to check its status or progress.
  2. Automate monitoring of bulk imports in GitLab by periodically retrieving import information.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated endpoints.
Authentication Select the authentication method, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance, defaulting to 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 GitLab migration import.

Output

JSON

  • import_id - The ID of the GitLab migration import.
  • status - Current status of the bulk import.
  • created_at - Timestamp when the import was created.
  • updated_at - Timestamp when the import was last updated.
  • additional_data - Any other relevant details returned by the GitLab API about the bulk import.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the import_id path parameter is correctly provided and is a valid integer.
  • Verify that the GitLab API key credential is valid and has sufficient permissions to access bulk import data.
  • If skipping authentication, confirm that the endpoint supports unauthenticated access, otherwise the request will fail.
  • Common error messages include 401 Unauthorized (invalid or missing credentials), 404 Not Found (invalid import_id), and 400 Bad Request (malformed request).

Links

Discussion