Interactive exec into an app (WebSocket)
GET/apps/{name}/exec
WebSocket interactive exec against the app's current instance; identical contract to GET /sandboxes/{id}/exec. 409 when the app has no running instance.
path parameters
object
namestringrequiredApp name (a DNS label, e.g. web).
Responses
101 Switching Protocols
400 Bad requestBad Request
ErrorResponse
errorstring404 Not foundNot Found
ErrorResponse
errorstring409 ConflictConflict
ErrorResponse
errorstringAuthentication
bearerAuthHTTP bearer. Daemon API key. Omit on a keyless loopback daemon.Request
▍GET/apps/{name}/exec
curl '/apps/{name}/exec'const response = await fetch("/apps/{name}/exec", {
method: "GET",
});
const data = await response.json();import requests
response = requests.get(
"/apps/{name}/exec",
)
data = response.json()Response
101
No response body.