Tenants API
The tenants branch (/tenants) manages tenant lifecycle and the version-control sources a tenant's model is loaded from. Unlike the other branches it is not tenant-scoped — it operates across tenants.
Known endpoints (from TenantsController):
| Method | Path | Purpose |
|---|---|---|
GET | /tenants | List tenants. |
GET | /tenants/{id} | Get a tenant. |
POST | /tenants | Create a tenant. |
PUT | /tenants/{id} | Update a tenant. |
GET | /tenants/defaultSourceDataObject | Default source configuration. |
GET | /tenants/vcsSources | Available version-control sources. |
GET | /tenants/vcsSources/{gitSource}/repositories | Repositories for a source. |
GET | /tenants/vcsSources/{gitSource}/repositories/{repository}/branches | Branches for a repository. |
TODO
This page is a stub. Document each endpoint: the tenant object shape, how a tenant is bound to a git repository and branch, and the VCS-source discovery flow.