GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves the storage limit exclusions for namespaces from the GitLab API (v4). It is useful for administrators or users who need to manage or audit storage limits and exceptions within GitLab namespaces. For example, it can be used to fetch paginated lists of namespaces that are excluded from storage limits to monitor or adjust storage policies.

Use Case Examples

  1. Fetch the first page of namespaces excluded from storage limits with 20 items per page.
  2. Retrieve a specific page of exclusions 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, 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 namespace storage limit exclusion objects 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 namespace storage limit exclusions.
  • 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 permission errors (403 Forbidden), which can be resolved by verifying API credentials and user permissions.

Links

Discussion