Skip to main content
GET
/
project
/
{project_id}
/
github
/
{github_installation_reference}
/
repository
Return repositories for a single GitHub installation in the project
curl --request GET \
  --url https://api.ubicloud.com/project/{project_id}/github/{github_installation_reference}/repository \
  --header 'Authorization: Bearer <token>'
{
  "count": 123,
  "items": [
    {
      "installation_name": "<string>",
      "id": "gpfg7td83em22qfw9pq5xyfqb7",
      "name": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

project_id
string
required

ID of the project

Example:

"pjkkmx0f2vke4h36nk9cm8v8q0"

github_installation_reference
string
required

GitHub installation ID or name

Response

A list of GitHub Repositories

count
integer
required
items
object[]
required