GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API, specifically supporting the Geo resource's getApiV4GeoProxy operation. It allows users to make HTTP requests (GET, POST, PUT, DELETE, HEAD, PATCH) to the GitLab Geo proxy endpoint, enabling scenarios such as fetching or manipulating Geo proxy data within GitLab. This is useful for automating GitLab Geo-related tasks or integrating GitLab Geo data into workflows.

Use Case Examples

  1. Fetching Geo proxy information from a GitLab instance using a GET request.
  2. Sending data to the Geo proxy endpoint with a POST request for synchronization or configuration purposes.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the request.
Authentication Specifies the authentication method to use if authentication is not skipped.
baseUrl The base URL of the GitLab instance to which the request is sent.
Method The HTTP method to use for the request (GET, POST, PUT, DELETE, HEAD, PATCH).
Parameter Schema Schema for parameters to be sent with the request (hidden).
Request Body Schema Schema for the request body to be sent (hidden).
Request Path The API path for the Geo proxy endpoint, fixed to /api/v4/geo/proxy (hidden).

Output

JSON

  • responseData - The JSON response data returned from the GitLab Geo proxy API endpoint.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the baseUrl is correctly set to the GitLab instance URL to avoid connection errors.
  • If authentication is enabled, verify that the GitLab API credentials are valid and have the necessary permissions.
  • Check that the HTTP method matches the intended operation on the Geo proxy endpoint to avoid method not allowed errors.
  • If the request body or parameters are required, ensure they conform to the expected schema to prevent validation errors.

Links

Discussion