GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node interacts with the GitLab API to perform a POST request to the /api/v4/project_repository_storage_moves endpoint. It is used to initiate a repository storage move operation within a GitLab project. This can be useful for automating repository management tasks such as moving repositories between storage locations in GitLab.

Use Case Examples

  1. Automate moving a GitLab project repository to a different storage location using the GitLab API.
  2. Trigger repository storage moves as part of a CI/CD pipeline or project maintenance workflow.

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 to use for the API request, defaulting to GET but can be set to POST, PUT, DELETE, HEAD, or PATCH.
Parameter Schema Defines the schema for the parameters sent in the body of the POST request to the project repository storage moves endpoint.
Request Body Schema Defines the schema for the request body sent in the POST request.
Request Path The API endpoint path for the project repository storage moves operation.

Output

JSON

  • response - The JSON response from the GitLab API after performing the repository storage move operation.

Dependencies

  • GitLab API authentication

Troubleshooting

  • Ensure the GitLab API credentials are correctly configured and have the necessary permissions to perform repository storage moves.
  • Verify the baseUrl is correctly set to the GitLab instance URL.
  • Check that the request body conforms to the expected schema for the repository storage move operation to avoid validation errors.

Links

Discussion