GitLab API

GitlabTool

Actions1000

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 auditing user access.

Use Case Examples

  1. Get the user list for a feature flag in a project to check which users are targeted by the flag.
  2. Retrieve details of a specific feature flag user list to update or analyze feature flag usage.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the API request.
Authentication The authentication method used for the API request, typically an 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.
Path Parameters Parameters used in the API request path to specify the project and feature flag user list.

Output

JSON

  • id - The unique identifier 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 - Timestamp when the user list was created.
  • updated_at - Timestamp when the user list was last updated.

Dependencies

  • GitLab API authentication token or API key

Troubleshooting

  • Ensure the project ID and feature flag user list IID are correctly provided and URL-encoded if necessary.
  • Verify that the authentication token has sufficient permissions to access the project's feature flags.
  • Check the base URL to ensure it points to the correct GitLab instance.
  • Common error messages include 404 Not Found if the project or user list does not exist, and 401 Unauthorized if authentication fails.

Links

Discussion