Skip to main content
GET
Preview a GitHub import

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

Query Parameters

app_repo_credential_name
string
required

The GitHub credential to import through. Forks go to, and applications build from, the account its installation is on.

source_url
string
required

A GitHub repository or owner address.

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