GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation fetches feature flags from a GitLab project's Unleash integration using the GitLab API. It is useful for retrieving feature flag configurations for a specific project, which can help in managing feature toggles and controlling feature rollout in applications. For example, a user can get all feature flags for a project to monitor or update feature states programmatically.

Use Case Examples

  1. Retrieve all feature flags for a GitLab project to audit feature toggles.
  2. Fetch feature flags filtered by Unleash client instance ID or application name to customize feature management.

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 API request to.
Method The HTTP method to use for the API request (GET, POST, PUT, DELETE, HEAD, PATCH).
Query Parameters Optional query parameters to filter the feature flags by Unleash client instance ID and application name.
Path Parameters Path parameters specifying the GitLab project ID to fetch feature flags for.

Output

JSON

  • featureFlags - Array of feature flags retrieved from the GitLab project Unleash integration.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the provided project_id is valid and accessible with the authenticated user.
  • Verify that the GitLab API baseUrl is correct and reachable.
  • Check that the authentication credentials are properly configured and have sufficient permissions.
  • If query parameters instance_id or app_name are used, ensure they are correctly specified to filter results.

Links

Discussion