Container stats stream
A live Server-Sent Events feed of the newest sample for every container, every five seconds. Each event's `data` is a JSON object with `state` and `samples`, a map from container id to that container's newest `ContainerSample`. In this stream a sample's `timestamp` is a number of seconds since 2001-01-01 UTC; the history endpoint sends ISO 8601. An open stream keeps the sampler running. Requires the **viewer** role.
curl -X GET "https://example.com/api/containers/stats/stream""string"Stop a container POST
Stop a container, optionally with a timeout. Requires the **operator** role.
Update a container's image POST
Pull the newest build of the container's image tag, then recreate the container from its current configuration (name and volumes kept). A failed pull leaves the old container running. Requires the **operator** role; host-escalating configurations require the **admin** role.