v1

latestOpenAPI 3.0.12026-07-17635367.2 KB
gitProvider

Get Git context

Get Git context

post/gitprovider/context

Response

OK

branchstring required
cloneTarget'branch' | 'commit'
idstring required
namestring required
ownerstring required
pathstring
prNumberinteger
shastring required
sourcestring required
urlstring required

Example response

{
  "owner": "owner",
  "path": "path",
  "name": "name",
  "id": "id",
  "source": "source",
  "prNumber": 0,
  "branch": "branch",
  "cloneTarget": "branch",
  "sha": "sha",
  "url": "url"
}