latestOpenAPI 3.1.12026-08-2122986336.6 KB

4efa9fcf5c1e

Convert a Forgejo-backed DocsProject into a GitHub-backed one. Reads every file from the Forgejo repo and opens a single PR on the chosen GitHub repo putting the content under scalar-docs/. A repo with no commits has nothing to collide with and nothing to review against, so it is initialised with the docs at its root on the default branch, and no pull request is returned.

post/docs-projects/{projectUid}/link-github

Path parameters

projectUidstring required

Request body

installationIdinteger required
repoIdinteger required

Response

Default Response