Stop a container
Stop a container, optionally with a timeout. Requires the **operator** role.
In: cookie
Path Parameters
The container's id or name.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/api/containers/string/stop" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "state": "string", "converged": true}Start a container POST
Start a container. Requires the **operator** role.
Container stats stream GET
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.