GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node interacts with the GitLab API to retrieve usage data related to service pings via the endpoint `/api/v4/usage_data/service_ping`. It is useful for monitoring and analyzing GitLab service usage metrics, which can help in performance tracking and operational insights.

Use Case Examples

  1. A DevOps engineer uses this node to fetch service ping data from GitLab to monitor system health and usage patterns.
  2. A system administrator integrates this node in an automation workflow to periodically 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, 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

  • data - The JSON response containing the usage data from the GitLab service ping API endpoint.

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; verify the URL and network connectivity.
  • HTTP method must be appropriate for the endpoint; using methods other than GET may result in errors.

Links

Discussion