GitLab API

GitlabTool

Actions905

Overview

This node operation retrieves details about a specific repository storage move for a given project in GitLab. It is useful for monitoring or managing the status of repository storage moves within GitLab projects, such as checking the progress or result of a storage migration.

Use Case Examples

  1. A DevOps engineer wants to check the status of a repository storage move for a project to ensure the migration completed successfully.
  2. A project manager needs to retrieve information about a specific storage move to report on project infrastructure changes.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used for the request, defaulting to GitLab API key.
baseUrl The 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 required in the request path to identify the project and the specific repository storage move.

Output

JSON

  • id - The unique identifier of the repository storage move.
  • state - The current state of the storage move (e.g., 'finished', 'failed').
  • created_at - Timestamp when the storage move was created.
  • updated_at - Timestamp when the storage move was last updated.
  • source_storage - The original storage location of the repository.
  • destination_storage - The target storage location for the repository.

Dependencies

  • Requires GitLab API key credential for authentication unless skipping authentication.

Troubleshooting

  • Ensure the project ID and repository storage move ID are correctly provided and URL-encoded if necessary.
  • Authentication errors may occur if the API key is missing or invalid; verify credentials are correctly configured.
  • Check the base URL is correct for your GitLab instance, especially if using a self-hosted GitLab server.
  • HTTP method should be GET for this operation; using other methods may result in errors.

Links

Discussion