GitLab API

GitlabTool

Actions905

Overview

This node operation retrieves the storage limit exclusions for namespaces from the GitLab API (v4). It is useful for users who want to manage or monitor which namespaces are excluded from storage limits in their GitLab instance. For example, an administrator can use this operation to fetch a paginated list of namespaces that are exempt from storage restrictions, helping in storage management and auditing.

Use Case Examples

  1. Fetch the first page of namespaces excluded from storage limits with default pagination.
  2. Retrieve a specific page and number of items per page by setting query parameters 'page' and 'per_page'.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the request.
Authentication The authentication method used for the request, typically an API key credential for GitLab.
baseUrl The base URL of the GitLab instance to which the request is sent.
Method The HTTP method used for the request, default is GET.
Query Parameters Optional query parameters to control pagination of the results.

Output

JSON

  • data - Array of namespaces excluded from storage limits.
  • 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 authentication token or API key credential

Troubleshooting

  • Ensure the GitLab API credentials are correctly configured and have sufficient permissions to access namespace storage limit exclusions.
  • 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 permission denied errors. Resolving these typically involves verifying credentials, URL, and user permissions.

Links

Discussion