Skip to main content
PUT
Connect a repo

Authorizations

Authorization
string
header
required

An API key from frogbot deploy's sign-in, /api/cli/device/token, or the API keys page.

Path Parameters

app
string
required

The app's slug, such as deals, or its id.

Body

application/json
provider
string
required
repoID
string
required
instanceURL
string
branch
string
folder
string
credential
string

A GitLab access token, stored encrypted and never returned; for GitHub, the signed repo list Connect GitHub hands back.

grant
string

The grant a provider's sign-in returned, in place of credential; spent on connect.

Response

OK

repo
object | null
required