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
Authorizations
Section titled “ Authorizations ”Request Body required
Section titled “ Request Body required ” Media type application/json
object
secret_token
required
Secret token to authenticate by gitlab shell
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
Example generated
{ "secret_token": "example", "data": { "gl_id": "example", "primary_repo": "example" }}Responses
Section titled “ Responses ”OK
Bad Request
401 Unauthorized