Git Sync

get connected repositories

get/github_app/connected_repositories

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/github_app/connected_repositories
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Query parameters

pageinteger

Page number for pagination (default 1)

Response

connected repositories

workspace_idstring
installation_idnumber required
account_idstring required
total_countnumber required

Total number of repositories available for this installation

per_pagenumber required

Number of repositories loaded per page

errorstring

Error message if token retrieval failed

github_base_urlstring nullable

Set for self-managed (GHES) installs. Cloud installs omit this field.

provisioned_by_adminboolean

True when the installation was assigned by the instance super-admin from instance settings. Workspace admins cannot remove these.

Changes

No recorded changes to this operation across all 297 revisions of this API.