GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation allows making HTTP requests to the GitLab Geo API proxy endpoint at /api/v4/geo/proxy. It supports various HTTP methods such as GET, POST, PUT, DELETE, HEAD, and PATCH, enabling flexible interaction with the Geo proxy service. This is useful for scenarios where you need to interact with GitLab's Geo proxy for replication or synchronization tasks in a GitLab Geo setup.

Use Case Examples

  1. Using GET method to retrieve information from the Geo proxy endpoint.
  2. Using POST method to send data to the Geo proxy endpoint for synchronization.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the request.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method to use for the request (GET, POST, PUT, DELETE, HEAD, PATCH).
Parameter Schema Schema for the parameters of the request, hidden in the UI.
Request Body Schema Schema for the request body, hidden in the UI.
Request Path The API path for the Geo proxy endpoint, fixed to /api/v4/geo/proxy.

Output

JSON

  • response - The JSON response from the GitLab Geo proxy API request.

Dependencies

  • GitLab API authentication token (unless Skip Authentication is true)

Troubleshooting

  • If authentication is required but skipped, the request may fail with authorization errors. Ensure the correct API token is provided or Skip Authentication is set appropriately.
  • Incorrect baseUrl may lead to connection errors; verify the GitLab instance URL.
  • Using unsupported HTTP methods or incorrect request body may cause API errors; refer to GitLab Geo API documentation for valid usage.

Links

Discussion