GitLab API

GitlabTool

Actions905

Overview

This node operation allows making a POST request to the GitLab Geo node proxy GraphQL endpoint. It is useful for interacting with the Geo node's GraphQL API to perform queries or mutations related to GitLab's Geo replication features. Typical use cases include querying Geo node status, configuration, or triggering specific Geo-related actions via GraphQL.

Use Case Examples

  1. Trigger a GraphQL query to fetch Geo node replication status by specifying the Geo node ID.
  2. Send a GraphQL mutation to update Geo node settings through the proxy endpoint.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the request.
Authentication The authentication method used for the request, typically a GitLab API key.
baseUrl The base URL of the GitLab instance to which the request is sent.
Method The HTTP method used for the request, default is POST for this operation.
Path Parameters The path parameters for the request, specifically the Geo node ID.

Output

JSON

  • data - The JSON response data from the GraphQL query or mutation.
  • errors - Any errors returned by the GraphQL endpoint.

Dependencies

  • Requires GitLab API key credential for authentication unless skipping authentication.

Troubleshooting

  • Ensure the Geo node ID path parameter is correctly set and valid.
  • Verify the GitLab API key credential is valid and has sufficient permissions to access the Geo node proxy endpoint.
  • Check the baseUrl is correctly set to the GitLab instance URL.
  • If skipping authentication, ensure the endpoint allows unauthenticated access, otherwise requests will fail.

Links

Discussion