Responsible for making HTTP POST /repo.git/git-upload-pack request from secondary gitlab-shell to primary
POST
/api/v4/geo/proxy_git_ssh/upload_pack
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
secret_token
required
Secret token used to authenticate requests from gitlab-shell to Geo proxy endpoints
string
data
required
Object that contains the payload data for the Geo operation
object
gl_id
required
ID of the user performing the operation
string
primary_repo
required
Primary repository to clone or pull from
string
output
required
Output from git-upload-pack
string
Examplegenerated
{ "secret_token": "example", "data": { "gl_id": "example", "primary_repo": "example" }, "output": "example"}Responses
Section titled “Responses”OK
Bad Request
401 Unauthorized