GitLab API

GitlabTool

Actions905

Overview

This node interacts with the GitLab API, specifically supporting the Geo resource's operation to post to the endpoint /api/v4/geo/proxy_git_ssh/info_refs_receive_pack. It is designed to facilitate GitLab Geo proxy SSH info refs receive pack operations, which are typically used in GitLab Geo replication scenarios to handle Git SSH info refs for receive pack operations. This node is beneficial for automating GitLab Geo synchronization tasks or integrating GitLab Geo proxy operations into workflows.

Use Case Examples

  1. Automate GitLab Geo proxy SSH info refs receive pack requests to synchronize repositories across Geo nodes.
  2. Integrate GitLab Geo replication steps into CI/CD pipelines to ensure repository consistency.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the request. If true, the request is sent without authentication.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication. Hidden if Skip Authentication is true.
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, with options including GET, POST, PUT, DELETE, HEAD, and PATCH.
Parameter Schema Defines the schema for the parameters sent in the body of the request for the postApiV4GeoProxyGitSshInfoRefsReceivePack operation.
Request Body Schema Defines the schema for the request body for the postApiV4GeoProxyGitSshInfoRefsReceivePack operation.
Request Path The API endpoint path for the postApiV4GeoProxyGitSshInfoRefsReceivePack operation, fixed to /api/v4/geo/proxy_git_ssh/info_refs_receive_pack.

Output

JSON

  • response - The JSON response returned from the GitLab API after performing the Geo proxy SSH info refs receive pack operation.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the baseUrl is correctly set to the GitLab instance URL to avoid connection errors.
  • If authentication is required, verify that the GitLab API credentials are correctly configured and have sufficient permissions.
  • Check that the HTTP method matches the expected method for the operation (typically POST for this endpoint).
  • Validate the request body against the expected schema to prevent request validation errors from the API.

Links

Discussion