GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API to retrieve application plan limits based on a specified plan name. It is useful for scenarios where users need to programmatically access GitLab plan limits, such as automating monitoring or reporting of plan restrictions for different subscription tiers.

Use Case Examples

  1. Retrieve the limits for the 'premium' GitLab plan to understand resource constraints.
  2. Fetch the default plan limits to compare with custom or trial plans.

Properties

Name Meaning
Skip Authentication Determines whether to bypass authentication for the API request.
Authentication Specifies the authentication method to use, typically an API key credential for GitLab.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request, defaulting to GET.
Query Parameters Additional query parameters for the API request, specifically the 'plan_name' to specify which plan's limits to retrieve.

Output

JSON

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

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the 'plan_name' query parameter is valid and matches one of the supported plan names (e.g., default, free, bronze, silver, premium, gold, ultimate, etc.).
  • If authentication is enabled, verify that the GitLab API credential is correctly configured and has sufficient permissions.
  • Check the baseUrl to ensure it points to a valid GitLab instance, especially if using a self-hosted GitLab server.
  • Common error messages may include authentication failures, invalid plan names, or network connectivity issues. Resolving these typically involves verifying credentials, input parameters, and network access.

Links

Discussion