Interlaken
API referenceApplicationsGitHub

List the connected GitHub account's repositories (most recently pushed first) — the workspace repo picker. Optional connector_id (defaults to the tenant's default github connector), page, per_page.

GET
/api/v1/github/repos

Requires the workspaces:create permission.

Authorization

AuthorizationBearer <token>

An access token from this zone's POST /oauth/token, or a session token from POST /api/v1/auth/login. Send it as Authorization: Bearer <token>.

In: header

Query Parameters

connector_id?string
page?integer
per_page?integer

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/github/repos"
{  "items": [    {      "default_branch": "string",      "description": "string",      "full_name": "string",      "html_url": "string",      "private": true,      "pushed_at": "2019-08-24T14:15:22Z"    }  ],  "total": 0}