GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves snippet repository storage moves from the GitLab API (version 4). It is useful for users who want to programmatically access and manage data related to snippet repository storage moves, such as tracking changes or migrations of snippet storage within GitLab projects. For example, a user might use this node to fetch paginated lists of storage moves for auditing or reporting purposes.

Use Case Examples

  1. Fetch the first page of snippet repository storage moves with 20 items per page.
  2. Retrieve a specific page of storage moves by setting the 'page' and 'per_page' query parameters.

Properties

Name Meaning
Skip Authentication If set to true, the node will skip authentication when making the API request.
Authentication The authentication method used 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, default is https://gitlab.com.
Method The HTTP method used for the API request, default is GET.
Query Parameters Optional query parameters to control pagination of the results, including 'page' for the current page number and 'per_page' for the number of items per page.

Output

JSON

  • data - Array of snippet repository storage move objects returned by the GitLab API.
  • pagination
    • page - Current page number of the results.
    • per_page - Number of items per page in the results.
    • total - Total number of items available.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • If authentication fails, ensure the GitLab API key credential is correctly configured and has the necessary permissions.
  • If the API request returns an error, verify the baseUrl is correct and the API endpoint /api/v4/snippet_repository_storage_moves is accessible.
  • Pagination parameters 'page' and 'per_page' should be valid integers; invalid values may cause request failures.

Links

Discussion