GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves the application plan limits from the GitLab API. It is useful for scenarios where you need to programmatically access the limits associated with different GitLab subscription plans, such as default, free, bronze, silver, premium, gold, ultimate, and trial plans. For example, it can be used to monitor or enforce usage limits based on the plan type in an automated workflow.

Use Case Examples

  1. Get the limits for the 'premium' GitLab plan to check resource usage caps.
  2. Fetch the default plan limits to compare with a user's current plan usage.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for 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 send the API request to.
Method The HTTP method used for the API request, defaulting to GET.
Query Parameters Additional query parameters for the API request, including the plan_name to specify which plan's limits to retrieve.

Output

JSON

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

Dependencies

  • GitLab API key credential

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.
  • If skipping authentication, ensure the API endpoint allows unauthenticated requests, otherwise the request will fail.

Links

Discussion