GitLab API

GitlabTool

Actions905

Overview

This node interacts with the GitLab API to retrieve application plan limits. Specifically, the 'getApiV4ApplicationPlanLimits' operation fetches the limits associated with a specified GitLab plan, such as 'free', 'bronze', 'silver', etc. This is useful for users who want to programmatically check the resource limits or quotas of different GitLab subscription plans.

Use Case Examples

  1. A DevOps engineer uses this node to automate monitoring of GitLab plan limits to ensure their projects stay within allowed quotas.
  2. A SaaS platform integrates this node to dynamically adjust features based on the user's GitLab subscription plan limits.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the API request (boolean). Defaults to false.
Authentication The authentication method used for the API request, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to send requests to, defaulting to https://gitlab.com.
Method The HTTP method to use for the API request, defaulting to GET.
Query Parameters Collection of query parameters for the request, including 'plan_name' to specify the GitLab plan whose limits are being requested.

Output

JSON

  • plan_limits - The limits and quotas associated with the specified GitLab plan.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the GitLab API key credential is correctly configured and has sufficient permissions to access plan limits.
  • Verify the 'baseUrl' is correct and accessible, especially if using a self-hosted GitLab instance.
  • Check that the 'plan_name' query parameter is valid and matches one of the supported plan names to avoid errors.

Links

Discussion