servers
Create or update server repository connection
Upsert a GitHub repository connection for a server. Creates a new connection if none exists, or updates the existing one.
put/servers/{namespace}/repo
Path parameters
namespacestring required
Request body
Example request
{
"baseDirectory": ".",
"branch": "main",
"autoDeploy": true
}Response
Repository connection created or updated
Example response
{
"repoOwner": "octocat",
"repoName": "hello-world",
"baseDirectory": ".",
"branch": "main",
"autoDeploy": true,
"type": "github"
}