GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves information about repository storage moves for a specific project in GitLab using the GitLab API v4. It is useful for monitoring and managing the storage migration status of a project's repository, such as checking ongoing or completed storage moves.

Use Case Examples

  1. A DevOps engineer wants to check the status of repository storage moves for a project to ensure data is being migrated correctly.
  2. A project manager needs to list all storage move operations for auditing purposes.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request, defaulting to GET.
Query Parameters Optional query parameters for pagination, including page number and items per page.
Path Parameters Path parameters required for the API endpoint, specifically the project ID or URL-encoded path.

Output

JSON

  • id - The unique identifier of the repository storage move.
  • state - The current state of the storage move (e.g., 'finished', 'pending').
  • created_at - Timestamp when the storage move was created.
  • updated_at - Timestamp when the storage move was last updated.
  • source_storage_name - The name of the source storage from which the repository is being moved.
  • destination_storage_name - The name of the destination storage to which the repository is being moved.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the project ID or URL-encoded path is correctly specified in the path parameters to avoid 404 errors.
  • Verify that the authentication token has sufficient permissions to access project repository storage move information.
  • Check the base URL to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.
  • Pagination parameters (page and per_page) should be set correctly to avoid missing data or excessive data retrieval.

Links

Discussion