GitLab API icon

GitLab API

Gitlab

Actions880

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 in the request body.
  2. Automate repository storage management for multiple projects by integrating this operation in workflows.

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 for this operation.

Output

JSON

  • id - The ID or URL-encoded path of the project for which the repository storage move is requested.
  • repository_storage_moves - Details of the repository storage move operation response from GitLab API.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the project ID provided in the path parameters is correct and accessible with the authenticated user.
  • Verify that the GitLab API credentials are valid and have sufficient permissions to perform repository storage moves.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure it is correctly set.
  • Common error messages may include authentication failures, permission denied errors, or invalid project ID errors. Resolving these involves verifying credentials, permissions, and input parameters.

Links

Discussion