GitLab API

GitlabTool

Actions1000

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 filtering by search criteria and pagination. For example, it can be used to fetch all user lists related to feature flags in a project or to search 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' in project 'my-project'.
  3. Paginate through feature flag user lists with 20 items per page.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the request (boolean). Defaults to false.
Authentication The authentication method used for the request, hidden unless Skip Authentication is false. Defaults to GitLab API key.
baseUrl The base URL of the GitLab instance. Defaults to https://gitlab.com.
Method HTTP method to use for the request. Defaults to GET.
Query Parameters Optional query parameters to filter and paginate the user lists.
Path Parameters Path parameters for the request, including the project ID or URL-encoded path.

Output

JSON

  • id - The unique identifier of the user list.
  • name - The name of the user list.
  • description - Description of the user list.
  • users - Array of 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 GitLab API key credential is valid and has sufficient permissions to access feature flag user lists.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.
  • If pagination parameters are used, ensure they are valid integers to avoid request errors.

Discussion