GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves project repository storage moves from the GitLab API (v4). It is useful for users who want to fetch paginated data about storage moves related to project repositories in GitLab, such as for monitoring or auditing storage usage changes.

Use Case Examples

  1. Fetch the first page of project repository storage moves with default 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 true, the node will skip using authentication for 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 request is sent, defaulting to https://gitlab.com.
Method The HTTP method used for the API request, defaulting to GET.
Query Parameters Optional query parameters to control pagination of the results.

Output

JSON

  • data - Array of project 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 for authentication

Troubleshooting

  • Ensure the GitLab API key credential is valid and has sufficient permissions to access project repository storage moves.
  • Verify the baseUrl is correct and accessible, especially if using a self-hosted GitLab instance.
  • Check that the query parameters 'page' and 'per_page' are valid integers if provided.
  • Common error messages may include authentication failures (401 Unauthorized) or resource not found (404) if the API endpoint or project does not exist.

Links

Discussion