GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation allows you to create 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 beneficial in scenarios where specific projects or groups require additional storage beyond the default limits.

Use Case Examples

  1. Excluding a namespace from storage limits to allow for larger project storage.
  2. Managing storage quotas programmatically for GitLab namespaces in an automated workflow.

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 API request path, specifically the 'id' of the namespace to exclude from storage limits.

Output

JSON

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

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the 'id' path parameter is correctly set to the namespace ID; otherwise, the API request will fail.
  • Authentication errors may occur if the API key credential is missing or invalid; verify the credential configuration.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure the API endpoint is reachable.
  • API rate limits or permission issues may cause errors; ensure the authenticated user has the necessary permissions to modify namespace storage settings.

Links

Discussion