Skip to main content
POST
Python (SDK)

Authorizations

Authorization
string
header
required

Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.

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