Skip to main content
POST
Link a repository and branch to an app

Authorizations

X-Agentmark-App-Id
string
header
required

Application ID for tenant scoping. X-Outerlayer-App-Id is accepted as an equivalent header.

Authorization
string
header
required

API key (sk_agentmark_*)

Path Parameters

appId
string<uuid>
required

Body

application/json
branch
string
required

Branch to watch for deploys. Must already exist on the remote.

Required string length: 1 - 255
repository
string
required

Repository identifier in owner/repo form, from the full_name field of the repositories list.

Required string length: 1 - 255

Response

Repository linked.

data
object
required