GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation allows users to create or post user lists for feature flags within a specific project on GitLab. It is useful for managing feature flag user lists programmatically, enabling automation of feature flag user targeting in GitLab projects. For example, a user can automate adding users to a feature flag list to control feature rollout in a project.

Use Case Examples

  1. Automate adding users to a feature flag list in a GitLab project to control feature rollout.
  2. Create user lists for feature flags in GitLab projects as part of a CI/CD pipeline.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, hidden unless Skip Authentication is false.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET but POST is used for this operation.
pathParameters.id The ID or URL-encoded path of the project for which the feature flag user list is being created.

Output

JSON

  • id - The unique identifier of the created 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 feature flag user list was created.

Dependencies

  • GitLab API authentication

Troubleshooting

  • Ensure the project ID provided in pathParameters.id is correct and accessible with the provided authentication.
  • Verify that the request body schema matches the expected format for creating feature flag user lists in GitLab.
  • Check network connectivity and baseUrl correctness if the API call fails to reach GitLab.

Links

Discussion