Skip to main content

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):

MethodPathPurpose
GET/tenantsList tenants.
GET/tenants/{id}Get a tenant.
POST/tenantsCreate a tenant.
PUT/tenants/{id}Update a tenant.
GET/tenants/defaultSourceDataObjectDefault source configuration.
GET/tenants/vcsSourcesAvailable version-control sources.
GET/tenants/vcsSources/{gitSource}/repositoriesRepositories for a source.
GET/tenants/vcsSources/{gitSource}/repositories/{repository}/branchesBranches 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.