Admin
Operations Summary
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/admin/matrix-appservice/status/ |
Get Matrix appservice status |
| GET | /api/admin/matrix/diagnostics/ |
Run Matrix connectivity diagnostics |
| POST | /api/admin/matrix-appservice/setup/ |
Setup Matrix appservice registration |
| POST | /api/admin/matrix/reprovision/ |
Reprovision all active Matrix rooms on a new homeserver |
Get Matrix appservice status
Returns the current appservice configuration state.
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 | |
- API Source:
admin_matrix_appservice_status_retrieve
1 2 3 4 5 6 7 8 9 10 | |
200 -
| Field | Type |
|---|---|
enabled |
boolean |
as_token_configured |
boolean |
hs_token_configured |
boolean |
sender_localpart |
string |
bot_user_id |
string |
webhook_path |
string |
homeserver_url |
string |
homeserver_domain |
string |
transaction_count |
integer |
Run Matrix connectivity diagnostics
Performs live connectivity checks against the configured Matrix homeserver and returns results for each check.
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 | |
- API Source:
admin_matrix_diagnostics_retrieve
1 2 3 4 5 6 7 8 9 10 | |
200 -
| Field | Type |
|---|---|
ok |
boolean |
checks |
array of objects |
checks.name |
string |
checks.label |
string |
checks.ok |
boolean |
checks.detail |
string |
Setup Matrix appservice registration
Generates fresh appservice tokens (rotating any existing ones), enables the appservice, and returns registration YAML.
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | |
- Model Source:
MatrixAppserviceSetupRequest - API Source:
admin_matrix_appservice_setup
1 2 3 4 5 6 7 8 9 10 | |
| Field | Type | Required | Description |
|---|---|---|---|
url |
string | Waldur URL reachable by the Matrix homeserver (for webhook callbacks) | |
sender_localpart |
string | Localpart for the appservice bot user, e.g. 'waldur-bot' | |
homeserver_url |
string (uri) | Matrix homeserver base URL. Only persisted if MATRIX_HOMESERVER_URL is not already configured. | |
homeserver_public_url |
string (uri) | Optional. Matrix homeserver URL used by browser clients. Leave blank when the homeserver URL above is reachable from both servers and browsers. Set this for deployments where the two differ (e.g. Docker-internal vs. Caddy-proxied). Only persisted if MATRIX_HOMESERVER_PUBLIC_URL is not already configured. | |
homeserver_domain |
string | Matrix homeserver server_name domain. Only persisted if MATRIX_HOMESERVER_DOMAIN is not already configured. | |
user_registration_secret |
string | Shared secret configured in the homeserver for user registration. Only persisted if MATRIX_USER_REGISTRATION_SECRET is not already configured. Constraints: write-only |
200 -
| Field | Type |
|---|---|
registration_yaml |
string |
as_token |
string |
hs_token |
string |
sender_localpart |
string |
webhook_url |
string |
bot_provision_status |
string |
Reprovision all active Matrix rooms on a new homeserver
Resets all active rooms to 'creating' state and re-queues them for provisioning. Also resets all user profiles. Staff only.
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 | |
- API Source:
admin_matrix_reprovision
1 2 3 4 5 6 7 8 9 10 | |
202 -
| Field | Type |
|---|---|
rooms_reprovisioned |
integer |
users_reset |
integer |