GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves a specific feature flag user list from a GitLab project using the GitLab API. It is useful for scenarios where you need to access detailed information about user lists associated with feature flags in a project, such as for managing feature rollouts or user targeting in development workflows.

Use Case Examples

  1. Fetching a user list for a feature flag in a project to review or modify the users included.
  2. Automating the retrieval of feature flag user lists to integrate with other tools or dashboards.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, typically a GitLab API key credential.
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.
Path Parameters Parameters used in the API request path to specify the project and feature flag user list.

Output

JSON

  • id - The ID of the feature flag user list.
  • name - The name of the feature flag user list.
  • users - The list of users included in the feature flag user list.
  • created_at - The creation timestamp of the user list.
  • updated_at - The last update timestamp of the user list.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID and feature flag user list IID are correctly provided; incorrect values will result in API errors.
  • If authentication is skipped, the API request may fail due to lack of permissions.
  • Verify the base URL is correct for the GitLab instance being accessed.
  • Common error messages include 404 Not Found if the project or user list does not exist, and 401 Unauthorized if authentication fails.

Links

Discussion