GitLab API

GitlabTool

Actions1000

Overview

This node interacts with the GitLab API to create or update user lists associated with feature flags for a specific project. It is useful for managing feature flag user lists programmatically within GitLab projects, enabling automation of feature flag user targeting.

Use Case Examples

  1. Automate adding users to feature flags in a GitLab project to control feature rollout.
  2. Update user lists for feature flags to manage access dynamically based on project requirements.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET but can be POST, PUT, DELETE, HEAD, or PATCH.
Path Parameters Parameters to be included in the request path, specifically the project ID or URL-encoded path.

Output

JSON

  • response - The JSON response from the GitLab API after creating or updating the feature flags user list.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the project ID provided in the path parameters is correct and accessible with the authenticated user.
  • Verify that the authentication credentials are valid and have the necessary permissions to modify feature flags in the project.
  • Check the request body schema to ensure it matches the expected format for the GitLab API endpoint.
  • Common error messages may include authentication failures, permission denied errors, or invalid project ID errors. Resolving these typically involves verifying credentials, permissions, and input parameters.

Links

Discussion