GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API to perform operations related to project repository storage moves, specifically supporting the POST method to initiate a repository storage move. It is useful for automating repository management tasks within GitLab projects, such as moving repositories between storage locations programmatically.

Use Case Examples

  1. Automate moving a GitLab project repository to a different storage location via API.
  2. Integrate repository storage move operations into CI/CD pipelines or project management workflows.

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 key authentication.
baseUrl The base URL of the GitLab instance to which the API requests are sent.
Method The HTTP method to use for the API request, defaulting to GET but supporting POST, PUT, DELETE, HEAD, and PATCH.
Parameter Schema Defines the schema for the parameters sent in the request body for the POST operation on project repository storage moves.
Request Body Schema Defines the schema for the request body content for the POST operation.
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 key credential

Troubleshooting

  • Ensure the GitLab API key credential is correctly configured and has sufficient permissions to perform repository storage moves.
  • Verify the baseUrl is correctly set to the GitLab instance URL.
  • Check that the request body matches the expected schema for the repository storage move operation to avoid validation errors.
  • Common error messages may include authentication failures, permission denied, or invalid request body format. Resolving these typically involves correcting credentials, permissions, or request data.

Links

Discussion