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
Authorizations
Section titled “ Authorizations ”Request Body required
Section titled “ Request Body required ” Media type application/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 push to
string
output
required
Output from git-receive-pack
string
Example generated
{ "secret_token": "example", "data": { "gl_id": "example", "primary_repo": "example" }, "output": "example"}Responses
Section titled “ Responses ”OK
Bad Request
401 Unauthorized