Skip to main content

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/instances
  • GET /apis/disasterinstances.testudo.softcdata.com/v1/watch/instances/:name
  • GET /apis/disasterinstances.testudo.softcdata.com/v1/watch/instances/operations/:operationName

Group Watch

  • GET /apis/disastergroups.testudo.softcdata.com/v1/watch/groups/status
  • GET /apis/disastergroups.testudo.softcdata.com/v1/watch/groups/status/:name
  • GET /apis/disastergroups.testudo.softcdata.com/v1/watch/groups/operations
  • GET /apis/disastergroups.testudo.softcdata.com/v1/watch/groups/operations/:operationName

Drill Watch

  • GET /apis/disasterdrills.testudo.softcdata.com/v1/watch/drills
  • GET /apis/disasterdrills.testudo.softcdata.com/v1/watch/drills/:name

Cluster And Storage Watch

  • GET /apis/cluster.testudo.softcdata.com/v1/watch/clusters
  • GET /apis/cluster.testudo.softcdata.com/v1/watch/clusters/:name
  • GET /apis/storage.testudo.softcdata.com/v1/watch/storages

Event Watch

  • GET /apis/v1/watch/events
  • GET /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.