GitLab API

GitlabTool

Actions905

Overview

This node operation retrieves details about a specific repository storage move for a snippet in GitLab. It is useful for users who need to track or manage the storage moves of snippet repositories within their GitLab projects. For example, a developer or DevOps engineer might use this to verify the status or details of a storage move operation for a snippet identified by its ID and the storage move ID.

Use Case Examples

  1. Retrieve the status of a snippet repository storage move by providing the snippet ID and the repository storage move ID.
  2. Monitor repository storage moves for snippets to ensure data integrity during migrations.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, defaulting to GitLab API key authentication.
baseUrl Base URL for the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Path Parameters Parameters required in the request path to identify the snippet and the repository storage move.

Output

JSON

  • id - The ID of the snippet.
  • repository_storage_move_id - The ID of the repository storage move.
  • status - The status of the repository storage move.
  • created_at - Timestamp when the storage move was created.
  • updated_at - Timestamp when the storage move was last updated.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the snippet ID and repository storage move ID are correct and exist in the GitLab project.
  • Verify that the GitLab API key credential has sufficient permissions to access snippet repository storage moves.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.
  • Common error messages include 404 Not Found if the snippet or storage move ID does not exist, and 401 Unauthorized if authentication fails.

Links

Discussion