GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves snippet repository storage moves from the GitLab API. It is useful for users who want to fetch paginated data about storage moves related to snippet repositories in their GitLab instance. For example, it can be used to monitor or audit storage move activities for snippets.

Use Case Examples

  1. Fetch the first page of snippet repository storage moves with default pagination.
  2. Retrieve a specific page and number of items per page by setting query parameters.

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 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 records returned by the 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

Troubleshooting

  • Ensure the GitLab API key credential is correctly configured and has sufficient permissions to access snippet repository storage moves.
  • Verify the baseUrl is correct and points to a valid GitLab instance.
  • Check that the query parameters 'page' and 'per_page' are valid integers if provided.
  • Common error messages may include authentication failures, invalid URL, or rate limiting by the GitLab API. Resolving these involves checking credentials, URL correctness, and API usage limits.

Links

Discussion