Skip to main content
POST
Import applications from GitHub

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Body

application/json
app_repo_credential_name
string
required
source_url
string
required

A GitHub repository or owner address.

repositories
GithubImportRepositorySelection · object[]

Response

Successful Response

is_truncated
boolean
required

The owner has more public repositories than a preview lists (1,000), so repositories is not all of them.

source
string
required

The source as read: owner or owner/name.

account
string
required

The GitHub account the credential's installation is on: where forks go and what applications build from.

repositories
GithubImportCandidate · object[]
required
errors
ErrorItem · object[]
required