GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node interacts with the GitLab API to retrieve feature information from the endpoint `/api/v4/features`. It supports making HTTP requests with various methods (GET, POST, PUT, DELETE, HEAD, PATCH) to the specified path, primarily used to get API v4 features from a GitLab instance. This is useful for automation workflows that need to fetch or manipulate GitLab feature data programmatically.

Use Case Examples

  1. Automate fetching GitLab feature flags or settings for monitoring or reporting.
  2. Integrate GitLab feature data retrieval into a CI/CD pipeline to conditionally trigger jobs based on feature availability.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the request.
Authentication Specifies the authentication method to use, hidden if Skip Authentication is true.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request.
Parameter Schema Hidden property for parameter schema related to the operation.
Request Body Schema Hidden property for request body schema related to the operation.
Request Path The API endpoint path for the request, fixed to `/api/v4/features`.

Output

JSON

  • features - The JSON response containing the GitLab API v4 features data.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • If authentication is skipped but the API requires it, requests may fail with authorization errors. Ensure the 'Skip Authentication' option is set correctly.
  • Incorrect baseUrl can lead to connection errors or 404 responses. Verify the GitLab instance URL is correct.
  • Using unsupported HTTP methods for this endpoint may result in errors. Use GET for retrieving features unless the API documentation specifies otherwise.

Links

Discussion