Skip to main content
GET
/
v1
/
integrations
/
github
/
{integration_id}
/
repos
[
  {
    "host_integration_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "id": 123,
    "name": "<string>",
    "owner": "<string>",
    "url": "<string>",
    "default_branch": "<string>"
  }
]

Path Parameters

integration_id
string<uuid>
required

GitHub integration ID.

Response

Successful Response

host_integration_id
string<uuid>
required

GitHub Integration ID.

For example, in the POST /v2/deployments request body, set integration_id to the value of this field.

id
integer
required

GitHub repository ID.

name
string
required

GitHub repository name.

owner
string
required

GitHub repository owner.

url
string
required

GitHub repository URL.

For example, in the POST /v2/deployments request body, set source_config.repo_url to the value of this field.

default_branch
string
required

GitHub repository default branch.

For example, in the POST /v2/deployments request body, set source_revision_config.repo_ref to the value of this field.