@Summary Watch workspace by ID @ID watch-workspace-by-id @Security CoderSessionToken @Produce text/event-stream @Tags Workspaces @Param workspace path string true "Workspace ID" format(uuid) @Success 200 {object} codersdk.Response @Router /api/v2/workspaces/{workspace}/watch [get] @Deprecated Use /w
(rw http.ResponseWriter, r *http.Request)
| 2087 | // @Router /api/v2/workspaces/{workspace}/watch [get] |
| 2088 | // @Deprecated Use /workspaces/{workspace}/watch-ws instead |
| 2089 | func (api *API) watchWorkspaceSSE(rw http.ResponseWriter, r *http.Request) { |
| 2090 | api.watchWorkspace(rw, r, httpapi.ServerSentEventSender) |
| 2091 | } |
| 2092 | |
| 2093 | // @Summary Watch workspace by ID via WebSockets |
| 2094 | // @ID watch-workspace-by-id-via-websockets |
nothing calls this directly
no test coverage detected