GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation allows creating a new user list for feature flags within a specific GitLab project. It is useful for managing feature flag user lists programmatically, enabling targeted feature rollouts or testing within a project. For example, a user can add a list of users who should receive a new feature flag in a project by specifying the project ID and the user list details.

Use Case Examples

  1. Creating a feature flag user list for a project to control feature rollout.
  2. Adding users to a feature flag user list to enable beta testing for specific users.

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 which the request is sent.
Method The HTTP method used for the request, here it is POST for creating the user list.
Path Parameters Parameters included in the request path, specifically the project ID to identify the target project.

Output

JSON

  • response - The JSON response from the GitLab API after creating the feature flags user list, typically including details of the created user list.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the project ID path parameter is correctly provided and URL-encoded if necessary.
  • Verify that the authentication credentials are valid and have sufficient permissions to create feature flag user lists in the project.
  • Check the base URL to ensure it points to the correct GitLab instance.
  • Common error messages may include authentication failures, invalid project ID, or insufficient permissions. Resolving these involves verifying credentials, project existence, and user permissions.

Links

Discussion