MCPcopy Index your code
hub / github.com/coder/coder / watchWorkspaceAgentMetadataSSE

Method watchWorkspaceAgentMetadataSSE

coderd/workspaceagents.go:1689–1691  ·  view source on GitHub ↗

@Summary Watch for workspace agent metadata updates @ID watch-for-workspace-agent-metadata-updates @Security CoderSessionToken @Tags Agents @Success 200 "Success" @Param workspaceagent path string true "Workspace agent ID" format(uuid) @Router /api/v2/workspaceagents/{workspaceagent}/watch-metadata

(rw http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

1687// @x-apidocgen {"skip": true}
1688// @Deprecated Use /workspaceagents/{workspaceagent}/watch-metadata-ws instead
1689func (api *API) watchWorkspaceAgentMetadataSSE(rw http.ResponseWriter, r *http.Request) {
1690 api.watchWorkspaceAgentMetadata(rw, r, httpapi.ServerSentEventSender)
1691}
1692
1693// @Summary Watch for workspace agent metadata updates via WebSockets
1694// @ID watch-for-workspace-agent-metadata-updates-via-websockets

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected