GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves information about a specific repository storage move within a GitLab project. It is useful for users who need to track or manage the status of repository storage moves in their GitLab projects, such as DevOps engineers or project administrators. For example, it can be used to check the progress or details of a storage move by providing the project ID and the repository storage move ID.

Use Case Examples

  1. Retrieve details of a repository storage move for project ID '123' and storage move ID '456' to monitor migration status.
  2. Check the repository storage move information before performing further project maintenance tasks.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, default is 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 specify the project ID and repository storage move ID for the request.

Output

JSON

  • id - The ID of the repository storage move.
  • project_id - The ID of the project associated with the storage move.
  • repository_storage - The current storage location of the repository.
  • destination_storage - The target storage location for the repository move.
  • state - The current state of the storage move (e.g., 'started', 'finished').
  • created_at - Timestamp when the storage move was created.
  • updated_at - Timestamp when the storage move was last updated.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID and repository storage move ID are correctly provided and URL-encoded if necessary.
  • Verify that the GitLab API key credential is valid and has sufficient permissions to access project repository storage moves.
  • Common error messages may include '404 Not Found' if the project or storage move ID does not exist, or '401 Unauthorized' if authentication fails. Check credentials and permissions to resolve these errors.

Links

Discussion