GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation allows making a POST request to the GitLab API endpoint `/api/v4/geo/proxy_git_ssh/upload_pack`. It is used in scenarios where you need to interact with GitLab's Geo proxy SSH upload pack functionality, typically for advanced Git operations in a Geo-replicated environment. This can be useful for automating Git operations or integrating GitLab Geo features into workflows.

Use Case Examples

  1. Automate Git SSH upload pack requests to a GitLab Geo proxy server.
  2. Integrate GitLab Geo replication features into CI/CD pipelines or custom automation workflows.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the request.
Authentication Specifies the authentication method to use, typically a GitLab API key credential.
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 GET but can be set to POST, PUT, DELETE, HEAD, or PATCH.
Parameter Schema Defines the schema for the parameters sent in the request body, required for this operation.
Request Body Schema Defines the schema for the request body, if applicable.
Request Path The API endpoint path for the operation, fixed to `/api/v4/geo/proxy_git_ssh/upload_pack`.

Output

JSON

  • response - The JSON response returned from the GitLab API for the upload pack request.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the baseUrl is correctly set to the GitLab instance URL.
  • If authentication is enabled, verify that the GitLab API key credential is valid and has necessary permissions.
  • Check that the HTTP method is set correctly, typically POST for this operation.
  • Verify the request body matches the expected schema for the upload pack operation to avoid validation errors.

Links

Discussion