GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node interacts with the GitLab API to retrieve application statistics from the endpoint `/api/v4/application/statistics`. It is useful for scenarios where users need to gather metrics or usage data about their GitLab instance, such as monitoring system health or usage trends.

Use Case Examples

  1. A DevOps engineer uses this node to fetch GitLab application statistics to monitor system performance.
  2. A project manager integrates this node in a workflow to collect usage data for reporting purposes.

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.

Output

JSON

  • statistics - The JSON object containing the application statistics retrieved from the GitLab API.

Dependencies

  • GitLab API key credential

Troubleshooting

  • If authentication fails, ensure the GitLab API key credential is correctly configured and has the necessary permissions.
  • If the base URL is incorrect or the GitLab instance is unreachable, the node will fail to connect.
  • Errors related to HTTP methods may occur if an unsupported method is selected; ensure the method is appropriate for the endpoint.

Links

Discussion