GitLab API

GitlabTool

Actions905

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, such as checking the status or results of a migration process.

Use Case Examples

  1. A user wants to check the status of a GitLab migration import by providing the import ID to track progress or troubleshoot issues.
  2. Automating the retrieval of migration import details as part of a larger DevOps workflow.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated endpoints.
Authentication Specifies the authentication method to use, here it is GitLab API authentication.
baseUrl The base URL of the GitLab instance to which the request is sent, defaulting to https://gitlab.com.
Method HTTP method used for the request, default is GET.
Path Parameters Parameters included in the request path, specifically the import_id which identifies the GitLab migration 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.
  • user_id - ID of the user who initiated the bulk import.
  • source_type - Type of source for the bulk import.
  • source_version - Version of the source system.
  • relation_links - Links related to the bulk import, such as associated projects or groups.

Dependencies

  • GitLab API credentials for authentication

Troubleshooting

  • Ensure the import_id path parameter is correctly provided and is a valid integer representing an existing GitLab migration import.
  • Authentication errors may occur if the GitLab API credentials are missing, invalid, or expired. Verify the credentials and reauthenticate if necessary.
  • Network or baseUrl misconfiguration can cause connection failures. Confirm the baseUrl is correct and accessible.
  • If the API returns a 404 error, the specified import_id may not exist or the user may lack permissions to access it.

Links

Discussion