Attach to a terminal (WebSocket)
A WebSocket upgrade. Authenticated by the session cookie or token like every request; the `Origin` must be one the API allows; the ticket goes in `Sec-WebSocket-Protocol` as two subprotocols, `wardn.exec.v1` and `ticket.<ticket>`, never in the URL. The server answers with the subprotocol `wardn.exec
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
deploymentId*stringuuidclusterId*stringuuidpod*stringlength <= 253sessionId*stringuuidSwitching to the WebSocket protocol.
curl -X GET 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/pods/497f6eca-6276-4993-bfeb-53cbbbba6f08/string/exec-sessions/497f6eca-6276-4993-bfeb-53cbbbba6f08/stream'Ask for a terminal in a pod POST
Checks everything a terminal needs and returns a session waiting for its WebSocket, with a ticket that opens it once, within 30 seconds, for the same person. A person who may manage the deployment may open one, unless its environment allows named people only (403 `exec.named_only`); so may anyone wh
List terminal sessions GET
Terminal sessions of the organization, newest first. `live=true` keeps those not ended, so an admin can see who is in a pod now and end any of them. Needs `audit:read`.