GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves details of 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 monitor the status or history of storage moves for snippet repositories to ensure data integrity or migration progress.

Use Case Examples

  1. Retrieve the status of a repository storage move for a snippet with a given snippet ID and storage move ID.
  2. Monitor repository storage moves for snippets to audit storage changes.

Properties

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

Output

JSON

  • id - The ID of the snippet repository storage move.
  • state - The current state of the repository storage move.
  • created_at - Timestamp when the storage move was created.
  • updated_at - Timestamp when the storage move was last updated.
  • source_storage - The original storage location of the snippet repository.
  • destination_storage - The target storage location for the snippet repository.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the snippet ID and repository storage move ID are correctly provided and valid to avoid 404 Not Found errors.
  • Check that the GitLab API key credential is correctly configured and has sufficient permissions to access snippet repository storage moves.
  • Verify the base URL is correct if using a self-hosted GitLab instance to prevent connection errors.

Discussion