Update editable repository settings (tracked branch, config path) on a unified DocsProject. Publish flags live in scalar.config.json.

post/docs-projects/update-repo-settings

Request

  • Base URL
    https://api.scalar.com/core
  • URL
    https://api.scalar.com/core/docs-projects/update-repo-settings
  • Auth
    HTTP bearer

Request body

projectUidstring required
branchstring
configPathstring

Example request

{
  "projectUid": "UakgbKJ5m9gl0JDMbcJqL"
}

Response

Default Response

unknown required

Changes

    • info

      api operation id postdocsProjectsUpdateRepoSettings removed and replaced with postDocsProjectsUpdateRepoSettings