GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation performs a POST request to the GitLab API endpoint `/api/v4/snippet_repository_storage_moves`. It is used to initiate or manage snippet repository storage moves within a GitLab instance. This can be useful for automating repository storage management tasks, such as moving snippet repositories to different storage locations programmatically.

Use Case Examples

  1. Automate moving snippet repositories to a new storage location in GitLab.
  2. Integrate snippet repository storage management into a CI/CD pipeline.

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 request is sent.
Method The HTTP method to use for the request, default is GET but POST is used for this operation.

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 base URL is correct and accessible.
  • Check that the request body schema matches the expected format for the snippet repository storage move operation to avoid validation errors.

Links

Discussion