GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API, specifically supporting the operation to POST to the /api/v4/geo/proxy_git_ssh/info_refs_receive_pack endpoint. It is useful for scenarios where you need to proxy Git SSH info refs for receive-pack operations in a Geo setup of GitLab, typically for advanced Git repository management and synchronization tasks.

Use Case Examples

  1. Proxy Git SSH info refs receive-pack requests in a GitLab Geo environment to manage repository synchronization.
  2. Automate Git operations that require SSH info refs handling through the GitLab API.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the request.
Authentication Specifies the authentication method to use, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to which the request is sent, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, defaulting to GET but can be set to POST, PUT, DELETE, HEAD, or PATCH.

Output

JSON

  • response - The JSON response from the GitLab API for the POST request to the Geo proxy Git SSH info refs receive-pack endpoint.

Dependencies

  • Requires GitLab API credentials for authentication unless skipping authentication is enabled.

Troubleshooting

  • Ensure the GitLab API credentials are correctly configured and have the necessary permissions to access the Geo proxy Git SSH info refs receive-pack endpoint.
  • Verify the baseUrl is correctly set to the GitLab instance URL you intend to interact with.
  • If skipping authentication, ensure the endpoint allows unauthenticated access, otherwise requests will fail with authorization errors.
  • Check that the HTTP method is set correctly; for this operation, POST is typically required.

Links

Discussion