GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API to perform operations related to snippet repository storage moves, specifically supporting the POST method to create or trigger storage moves for snippet repositories. It is useful for automating repository management tasks within GitLab, such as migrating snippet storage locations programmatically.

Use Case Examples

  1. Automate moving snippet repository storage in GitLab via API calls.
  2. Integrate GitLab snippet storage management into CI/CD workflows.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Selects the authentication method to use for the API request, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to which the API requests are sent, defaulting to https://gitlab.com.
Method HTTP method to use for the API request, with POST being relevant for the snippet repository storage moves operation.
Parameter Schema Defines the schema for the parameters sent in the request body for the POST operation on snippet 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 snippet repository storage moves, fixed to /api/v4/snippet_repository_storage_moves.

Output

JSON

  • response - The JSON response from the GitLab API after performing the snippet 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 snippet repository storage moves.
  • Verify the baseUrl is correctly set to the target GitLab instance URL.
  • Check that the request body matches the expected schema for the snippet repository storage move operation to avoid validation errors.

Links

Discussion