Run a command in a session
POST/api/session/sessions/:session_id/execution-commands
Exactly one of command or exec. command names an entry of the image's exec configs; url is required for go and, when given, must be a URL. exec is a free-form command and requires the sessions-modify scope. Runs now against a running container (queued: false); a session still starting, being placed or being resumed queues it and the reconciler runs it the moment the container is serving (queued: true). A paused or stopped session is a 409.
Request
Responses
- 202
- 400
- 401
- 403
- 404
- 409
- 422
- 503
Successful Response
Bad request
Invalid credentials
Response Headers
WWW-Authenticate
Authentication scheme the client should use.
Insufficient permissions
Resource not found
Conflict
Validation Error
Service unavailable