GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation fetches feature flags for a specific project from the GitLab API's Unleash feature flag service. It is useful for retrieving client feature flag configurations based on project ID, optionally filtered by instance ID and application name. Practical use cases include dynamically adjusting application behavior based on feature flags managed in GitLab.

Use Case Examples

  1. Retrieve all feature flags for a given GitLab project to control feature rollout.
  2. Filter feature flags by Unleash client instance ID and application name to get targeted feature configurations.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the API request.
Authentication The authentication method used for the API request, hidden unless Skip Authentication is false.
baseUrl The base URL of the GitLab instance to send the request to.
Method The HTTP method used for the API request.
Parameter Schema Defines the parameters for the API request including path and query parameters.
Request Body Schema Schema for the request body, if applicable (null for this operation).
Request Path The API endpoint path with placeholders for path parameters.
Query Parameters Optional query parameters to filter the feature flags by instance ID and application name.
Path Parameters Path parameters required for the API request, specifically the project ID.

Output

JSON

  • featureFlags - List of feature flags returned from the GitLab Unleash API for the specified project.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the project_id path parameter is correctly set; missing or incorrect project ID will cause request failures.
  • Verify that authentication credentials are valid and have sufficient permissions to access the project's feature flags.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure the URL is correct.
  • If query parameters instance_id or app_name are used, confirm they are valid and correctly formatted.

Links

Discussion