GitLab API

GitlabTool

Actions905

Overview

This node interacts with the GitLab API to retrieve feature definitions from the endpoint `/api/v4/features/definitions`. It is useful for users who want to programmatically access GitLab feature metadata, such as for automation or integration workflows involving GitLab features.

Use Case Examples

  1. A DevOps engineer automates the retrieval of GitLab feature flags to dynamically adjust deployment pipelines.
  2. A developer integrates GitLab feature definitions into a custom dashboard to monitor feature availability across projects.

Properties

Name Meaning
Skip Authentication Determines whether to skip API authentication, useful for accessing public endpoints or testing.
Authentication Specifies the authentication method to use when Skip Authentication is false, typically an API key credential for GitLab.
baseUrl The base URL of the GitLab instance to connect to, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, defaulting to GET.
Parameter Schema Hidden property for the parameter schema of the operation, used internally.
Request Body Schema Hidden property for the request body schema of the operation, used internally.
Request Path Hidden property specifying the API endpoint path `/api/v4/features/definitions` for this operation.

Output

JSON

  • response - The JSON response from the GitLab API containing the feature definitions.

Dependencies

  • Requires GitLab API authentication credentials unless Skip Authentication is enabled.

Troubleshooting

  • If authentication fails, verify the API key or token is correctly configured and has necessary permissions.
  • If the request to `/api/v4/features/definitions` fails, check the baseUrl is correct and the GitLab instance is accessible.
  • Ensure the HTTP method is set to GET for this operation as other methods may not be supported.

Links

Discussion