GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation allows making a POST request to the GitLab API endpoint `/api/v4/geo/node_proxy/{id}/graphql`. It is designed to interact with a Geo node in GitLab, specifically to send GraphQL queries or mutations through the Geo node proxy identified by the given ID. This operation is useful for users who need to perform GraphQL operations on a specific Geo node within a GitLab instance, such as querying data or performing updates via GraphQL through the Geo node proxy.

Use Case Examples

  1. A DevOps engineer querying replication status or configuration details of a Geo node using GraphQL.
  2. A developer sending a GraphQL mutation to update settings on a specific Geo node via the proxy.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the request. If true, no authentication is used.
Authentication The authentication method to use for the request, typically an API key credential for GitLab.
baseUrl The base URL of the GitLab instance to which the request is sent.
Method The HTTP method to use for the request, defaulting to POST for this operation.
Path Parameters The path parameters for the request, specifically the 'id' of the Geo node proxy to target.

Output

JSON

  • data - The JSON response data returned from the GitLab Geo node proxy GraphQL endpoint.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the 'id' path parameter is correctly set to a valid Geo node ID; otherwise, the request will fail.
  • If authentication is enabled, verify that the GitLab API credentials are valid and have sufficient permissions to access the Geo node proxy endpoint.
  • Check the baseUrl to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.

Links

Discussion