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

Authorizations

X-Outerlayer-App-Id
string
header
required

Factory id the request is scoped to.

Authorization
string
header
required

API key (sk_outerlayer_*)

Path Parameters

appId
string<uuid>
required

Body

application/json
branch
string
required

Branch to watch; each push to it syncs the app's context. 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