GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API, specifically supporting the operation to get the API v4 version information. It is useful for workflows that need to retrieve the current version of the GitLab API, which can help in ensuring compatibility or for informational purposes.

Use Case Examples

  1. A workflow that checks the GitLab API version before performing other API calls to ensure compatibility.
  2. A monitoring workflow that logs the GitLab API version periodically for auditing or debugging.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request, defaulting to GET.
Parameter Schema Hidden property for the parameter schema of the getApiV4Version operation.
Request Body Schema Hidden property for the request body schema of the getApiV4Version operation.
Request Path Hidden property specifying the API endpoint path, defaulting to /api/v4/version for the getApiV4Version operation.

Output

JSON

  • version - The version information of the GitLab API v4 returned from the endpoint.

Dependencies

  • GitLab API authentication credentials

Troubleshooting

  • If authentication is skipped but the GitLab instance requires authentication, the request may fail with an authorization error. Ensure authentication is enabled if required.
  • Incorrect baseUrl can lead to connection errors or 404 responses. Verify the baseUrl is correct for the GitLab instance.
  • Using an unsupported HTTP method may cause the request to fail. The default and recommended method for this operation is GET.

Links

Discussion