GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation sends client metrics data to a specific GitLab project's feature flags unleash endpoint. It is useful for tracking feature flag usage and client metrics within a GitLab project, enabling better feature management and analysis.

Use Case Examples

  1. Sending client metrics data to GitLab for a project to monitor feature flag usage.
  2. Automating the reporting of client metrics to GitLab feature flags unleash API for continuous integration workflows.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
baseUrl The base URL for the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET but POST is used for this operation.
Path Parameters Parameters to be included in the request path, specifically the project_id identifying the GitLab project.

Output

JSON

  • response - The JSON response from the GitLab API after sending client metrics data.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the project_id path parameter is correctly set and valid to avoid 404 errors.
  • Verify that authentication credentials are correctly configured unless Skip Authentication is enabled.
  • Check that the baseUrl is correct and accessible.
  • Common errors include authentication failures, invalid project IDs, or malformed request bodies. Verify request body schema matches the expected format for client metrics.

Links

Discussion