GitLab API

GitlabTool

Actions1000

Overview

This node operation allows moving the repository storage of a specific project in GitLab. It is useful for managing project storage locations, such as migrating repositories to different storage backends or optimizing storage usage. For example, a user can move a project's repository storage to a new storage location by specifying the project ID and providing the necessary request body details.

Use Case Examples

  1. Move a GitLab project's repository storage to a new storage location by specifying the project ID and the target storage details in the request body.
  2. Automate repository storage management for multiple projects by integrating this node in workflows that handle storage migration.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated access scenarios.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET but can be set to POST, PUT, DELETE, HEAD, or PATCH.
Path Parameters Parameters to be included in the request path, specifically the project ID in this operation.

Output

JSON

  • id - The ID or URL-encoded path of the project for which the repository storage is being moved.
  • status - The status or result of the repository storage move operation.
  • message - Any message or response details returned from the operation.

Dependencies

  • GitLab API authentication

Troubleshooting

  • Ensure the project ID provided in the path parameters is correct and accessible with the authenticated user.
  • Verify that the authentication credentials (GitLab API token) are valid and have sufficient permissions to perform repository storage moves.
  • Check the base URL to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.
  • Common error messages may include authorization errors (401/403) if permissions are insufficient, or not found errors (404) if the project ID is invalid.

Links

Discussion