Skip to content

Responsible for making HTTP POST /repo.git/info/refs?service=git-receive-pack request from secondary gitlab-shell to primary

POST
/api/v4/geo/proxy_git_ssh/receive_pack
Media type application/json
object
secret_token
required

Secret token used to authenticate requests from gitlab-shell to Geo proxy endpoints

string
nullable
data
required

Object that contains the payload data for the Geo operation

object
gl_id
required

ID of the user performing the operation

string
nullable
primary_repo
required

Primary repository to push to

string
nullable
output
required

Output from git-receive-pack

string
nullable
Example generated
{
"secret_token": "example",
"data": {
"gl_id": "example",
"primary_repo": "example"
},
"output": "example"
}

OK

Bad Request

401 Unauthorized