GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves the GitLab subscription details for a specific namespace by its ID using the GitLab API v4 endpoint `/api/v4/namespaces/{id}/gitlab_subscription`. It is useful for scenarios where you need to programmatically access subscription information related to a GitLab namespace, such as billing or subscription status checks.

Use Case Examples

  1. Fetch subscription details for a namespace to monitor billing status.
  2. Integrate GitLab subscription data into a custom dashboard or reporting tool.

Properties

Name Meaning
Skip Authentication If set to true, the node will skip using authentication for the request.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Path Parameters Collection of path parameters required for the request, specifically the namespace ID.

Output

JSON

  • id - The ID of the namespace.
  • gitlab_subscription - Details of the GitLab subscription associated with the namespace.

Dependencies

  • Requires GitLab API credentials for authentication unless 'Skip Authentication' is enabled.

Troubleshooting

  • Ensure the namespace ID provided in path parameters is valid and exists in the GitLab instance.
  • If authentication is enabled, verify that the GitLab API credentials are correctly configured and have sufficient permissions to access namespace subscription data.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure it is correct.

Links

Discussion