GitLab API

GitlabTool

Actions905

Overview

This node operation allows making HTTP requests to the GitLab Geo Proxy API 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 programmatically access or manipulate GitLab Geo Proxy data or services, for example, fetching proxy status or sending proxy-related commands.

Use Case Examples

  1. Fetching Geo Proxy status using GET method.
  2. Sending data to Geo Proxy using POST method.

Properties

Name Meaning
Skip Authentication If true, the node will skip using authentication for the request.
Authentication The authentication method to use, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance to which the request is sent, default is https://gitlab.com.
Method The HTTP method to use for the request (GET, POST, PUT, DELETE, HEAD, PATCH).
Parameter Schema Hidden property for parameter schema related to the operation, not user-editable.
Request Body Schema Hidden property for request body schema related to the operation, not user-editable.
Request Path The API path for the Geo Proxy endpoint, fixed to /api/v4/geo/proxy.

Output

JSON

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

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • If authentication is required but skipped, the request may fail with authorization errors. Ensure 'Skip Authentication' is false or provide valid credentials.
  • Incorrect baseUrl may lead to connection errors or 404 responses. Verify the baseUrl is correct for your GitLab instance.
  • Using unsupported HTTP methods or incorrect request body may cause API errors. Refer to GitLab Geo Proxy API documentation for valid methods and payloads.

Links

Discussion