GitConnection
GitConnection objectproviderstring requiredAllowed values:"github""gitlab""gitea""bitbucket"urlstring requiredbranchstring requiredhas_tokenboolean requiredwebhook_pathstring requiredlast_commitstring requiredlast_statestring requiredAllowed values:"""succeeded""failed"last_errorstring requiredlast_atstring (date-time) | null required
Used by
| GET | /api/v1/tenants/{tid}/sites/{id}/git | The site's Git connection (ADR 0027); never the token or the webhook secret |
| PUT | /api/v1/tenants/{tid}/sites/{id}/git | Connect the site to a GitHub, GitLab, Gitea or Bitbucket branch; the webhook secret is returned once |