GitLab API icon

GitLab API

Gitlab

Actions917

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 the Geo node identified by its ID. Typical use cases include managing or retrieving Geo node data in a GitLab instance, especially in distributed or multi-node GitLab setups.

Use Case Examples

  1. Posting a GraphQL query to a specific Geo node to retrieve replication status.
  2. Sending a mutation to update Geo node configuration via the GraphQL API.

Properties

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

Output

JSON

  • data - The JSON response data from the GraphQL API call to the Geo node.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the Geo node ID path parameter is correctly set and valid; otherwise, the request will fail.
  • If authentication is enabled, verify that the GitLab API credentials are correct and have sufficient permissions.
  • Check the baseUrl to ensure it points to the correct GitLab instance.
  • Common errors include 401 Unauthorized (authentication issues), 404 Not Found (invalid Geo node ID or endpoint), and 400 Bad Request (malformed GraphQL query).

Links

Discussion