Skip to content

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

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

Secret token to authenticate by gitlab shell

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 clone or pull from

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

OK

Bad Request

401 Unauthorized