Watch API Reference
Watch APIs convert Kubernetes watch events into real-time streams that the console can subscribe to. Route names usually include /watch.
Instance Watch
GET /apis/disasterinstances.testudo.softcdata.com/v1/watch/instancesGET /apis/disasterinstances.testudo.softcdata.com/v1/watch/instances/:nameGET /apis/disasterinstances.testudo.softcdata.com/v1/watch/instances/operations/:operationName
Group Watch
GET /apis/disastergroups.testudo.softcdata.com/v1/watch/groups/statusGET /apis/disastergroups.testudo.softcdata.com/v1/watch/groups/status/:nameGET /apis/disastergroups.testudo.softcdata.com/v1/watch/groups/operationsGET /apis/disastergroups.testudo.softcdata.com/v1/watch/groups/operations/:operationName
Drill Watch
GET /apis/disasterdrills.testudo.softcdata.com/v1/watch/drillsGET /apis/disasterdrills.testudo.softcdata.com/v1/watch/drills/:name
Cluster And Storage Watch
GET /apis/cluster.testudo.softcdata.com/v1/watch/clustersGET /apis/cluster.testudo.softcdata.com/v1/watch/clusters/:nameGET /apis/storage.testudo.softcdata.com/v1/watch/storages
Event Watch
GET /apis/v1/watch/eventsGET /apis/v1/watch/:resource/:name/events
Usage Notes
- Load the current snapshot with REST first, then subscribe to watch increments.
- Re-list after reconnecting, so missed events do not leave the page stale.
- Token passing must account for WebSocket/SSE client limitations. The server provides a WebSocket token adapter.