GitLab API

GitlabTool

Actions905

Overview

This node interacts with the GitLab API to retrieve user count statistics via the endpoint `/api/v4/user_counts`. It is useful for scenarios where you need to gather metrics or analytics about GitLab users, such as monitoring user growth or activity within a GitLab instance. For example, an admin might use this node to fetch user counts for reporting or auditing purposes.

Use Case Examples

  1. Fetch total user counts from a GitLab instance to monitor user base growth.
  2. Retrieve user count data for integration into a dashboard or analytics tool.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication when making the API request.
Authentication Specifies the authentication method to use for the API request, defaulting to GitLab API key authentication.
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.
Parameter Schema Hidden property for the parameter schema of the operation, not user-configurable.
Request Body Schema Hidden property for the request body schema of the operation, not user-configurable.
Request Path The API endpoint path for the user counts operation, fixed to `/api/v4/user_counts`.

Output

JSON

  • user_counts - The JSON object containing user count statistics returned from the GitLab API.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • If authentication fails, verify that the GitLab API key credential is correctly configured and has sufficient permissions.
  • Ensure the base URL is correct and accessible; otherwise, the API request will fail.
  • If the API endpoint changes or is deprecated, update the request path accordingly.

Links

Discussion