Sandboxes
Mint a single-use web terminal ticket
Changed onReturns a short-lived, single-use credential for one web terminal WebSocket upgrade. The upgrade cannot use the browser's session cookie, because browsers do not apply the same-origin policy to WebSockets.
post/api/v0beta1/rigs/{id}/terminal-tickets
Request
- Base URLhttps://app.amika.dev (the document declares no server; this is the origin it was published from)
- URLhttps://app.amika.dev/api/v0beta1/rigs/{id}/terminal-tickets
- Auth
- HTTP bearer
- or API key in cookie wos-session
Path parameters
idstring required
Query parameters
sandbox_by'name' | 'id' | 'ref' | 'name_or_id'
How to interpret the sandbox {id} path param: ref/name_or_id (default; matches an id or a name and rejects an ambiguous match with 409 resource_ref_ambiguous), name, or id.
Response
One single-use terminal ticket.
Changes
- info
added the new optional
queryrequest parametersandbox_by
- info
- info
endpoint added
- info