servers

Update repository settings

Partially update the GitHub repository connection settings. Only provided fields are updated.

patch/servers/{qualifiedName}/repo

Path parameters

qualifiedNamestring required

The server's qualified name (e.g. 'namespace/server' or 'namespace' for namespace-only servers). Use %2F to encode the slash.

Request body

baseDirectorystring
branchstring nullable
autoDeployboolean

Response

Repository connection updated

repoOwnerstring required
repoNamestring required
baseDirectorystring required
branchstring nullable required
autoDeployboolean nullable required
isPrivateboolean required
type'github' required

Example response

{
  "repoOwner": "octocat",
  "repoName": "hello-world",
  "baseDirectory": ".",
  "branch": "main",
  "autoDeploy": true,
  "type": "github"
}

Changes