Skip to main content
POST
CSharp (SDK)

Authorizations

Authorization
string
header
required

Send Authorization: Bearer , using an MKA1 API key for automation or an OAuth API access token for a signed-in application. Use a dynamic security callback to refresh OAuth access tokens. Browser session-only operations still require their declared cookie.

Headers

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Body

application/json
repository_id
integer
required
ref
string | null
Required string length: 1 - 255

Response

Successful Response

repository_id
integer
required
owner
string
required
repository
string
required
ref
string
required
sha
string
required
default_branch
string
required