GitLab API

GitlabTool

Actions1000

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 a given project.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
baseUrl The base URL of 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 for this operation.

Output

JSON

  • response - The JSON response from the GitLab API after posting client metrics to the feature flags unleash endpoint.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the project_id path parameter is correctly set and valid, as it is required for the API endpoint.
  • Verify that authentication credentials are correctly configured unless Skip Authentication is enabled.
  • Check that the baseUrl is correct and accessible, especially if using a self-hosted GitLab instance.
  • Common errors may include authentication failures, invalid project ID, or malformed request body data.

Links

Discussion