From e3e39eef5da761ba1316cd893bf4ab3b22034e67 Mon Sep 17 00:00:00 2001 From: Octobob Date: Thu, 27 Aug 2026 18:36:27 +0000 Subject: [PATCH] Sync generated API docs origin revision: fa8caee3 --- src/pages/docs/api/_generated/platform-hub.md | 43 ++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/src/pages/docs/api/_generated/platform-hub.md b/src/pages/docs/api/_generated/platform-hub.md index cacc44337b..ce1ba01c65 100644 --- a/src/pages/docs/api/_generated/platform-hub.md +++ b/src/pages/docs/api/_generated/platform-hub.md @@ -1,7 +1,7 @@ --- layout: src/layouts/Api.astro pubDate: 2026-08-11 -modDate: 2026-08-11 +modDate: 2026-08-25 title: Platform Hub --- @@ -2466,6 +2466,47 @@ Gets a set of GitHub App connections for the Platform Hub. ``` ::: +## Get the GitHub repositories for a PlatformHub GitHub app connection + +:endpoint{method="GET" path="/api/platformhub/github/connections/\{connectionId\}/repositories"} + +**Path Parameters** + +- **`connectionId`** :span[string]{.type-label} *(required)* + +**Response** + +`200` — GitHub repositories available for the PlatformHub connection + +- **`Repositories`** :span[array of object]{.type-label} + - **`DefaultBranch`** :span[string]{.type-label} + - **`GitUrl`** :span[string]{.type-label} + - **`IsAdmin`** :span[boolean]{.type-label} + - **`IsPrivate`** :span[boolean]{.type-label} + - **`Language`** :span[string]{.type-label} + - **`RepositoryId`** :span[string]{.type-label} + - **`RepositoryName`** :span[string]{.type-label} + - **`Visibility`** :span[string]{.type-label} + +:::api-example{label="Response"} +```json +{ + "Repositories": [ + { + "DefaultBranch": "string", + "GitUrl": "string", + "IsAdmin": false, + "IsPrivate": false, + "Language": "string", + "RepositoryId": "string", + "RepositoryName": "string", + "Visibility": "string" + } + ] +} +``` +::: + ## Get a single PlatformHub GitHub app connection by id :endpoint{method="GET" path="/api/platformhub/github/connections/\{id\}"}