GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves user lists associated with feature flags for a specific project in GitLab. It is useful for managing and querying feature flag user lists within a project, allowing users to filter results by search criteria and paginate through the lists. Practical examples include fetching all user lists for a project or searching for specific user lists by name.

Use Case Examples

  1. Fetch all feature flag user lists for a project with ID '123'.
  2. Search feature flag user lists containing the term 'beta' for project 'my-project'.
  3. Paginate through feature flag user lists, retrieving 20 items per page.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the request.
Authentication The authentication method used for the request, typically an API key credential.
baseUrl The base URL of the GitLab instance to send the request to.
Method The HTTP method to use for the request, defaulting to GET.
Query Parameters Optional query parameters to filter and paginate the user lists.
Path Parameters Path parameters specifying the project ID or URL-encoded path.

Output

JSON

  • id - The unique identifier of the user list.
  • name - The name of the user list.
  • users - The users included in the user list.
  • created_at - Timestamp when the user list was created.
  • updated_at - Timestamp when the user list was last updated.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID or URL-encoded path is correctly provided in the path parameters to avoid 404 errors.
  • Verify that the API key credential has sufficient permissions to access feature flag user lists in the specified project.
  • Check the base URL to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.

Links

Discussion