GitLab API

GitlabTool

Actions905

Overview

This node operation allows users to add a storage limit exclusion for a specific namespace in GitLab via the GitLab API. It is useful for managing storage quotas by excluding certain namespaces from storage limits, which can be important for organizations needing to control storage usage on a per-namespace basis.

Use Case Examples

  1. An organization wants to exclude a particular project namespace from the overall storage limit to allow unlimited storage for critical projects.
  2. A GitLab administrator automates the process of managing storage exclusions for namespaces to optimize storage allocation across multiple teams.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the API request.
Authentication The authentication method used for the API request, typically an API key credential.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request.
Path Parameters Parameters included in the request path, specifically the 'id' of the namespace for which the storage limit exclusion is being added.

Output

JSON

  • response - The JSON response from the GitLab API after adding the storage limit exclusion to the specified namespace.

Dependencies

  • GitLab API authentication token or API key credential

Troubleshooting

  • Ensure the 'id' path parameter is correctly set to the namespace ID; otherwise, the API call will fail.
  • Authentication errors may occur if the API key or token is missing or invalid; verify credentials are correctly configured.
  • The base URL must point to a valid GitLab instance; incorrect URLs will cause connection failures.
  • The API endpoint requires POST method; using other methods will result in errors.

Links

Discussion