ReferenceAPIOperationsRunners
Discover a private GitLab repository for checkout
Internal Git smart-HTTP endpoint. The runner token is accepted only for the repository assigned to this job; GitLab credentials remain server-side.
Operation ID
gitlab_checkout_discoveryInternal Git smart-HTTP endpoint. The runner token is accepted only for the repository assigned to this job; GitLab credentials remain server-side.
Authorization
bearer_auth AuthorizationBearer <token>
In: header
Path Parameters
runner_id*string
Runner ID
job_id*string
Build/Job ID
git_path*string
Multi-segment assigned repository info/refs path; preserve slash separators
Query Parameters
service*string
Must be git-upload-pack
Response Body
application/x-git-upload-pack-advertisement
application/json
curl -X GET "https://example.com/v1/runners/string/jobs/string/gitlab/string?service=string""string"