Computers

Run a command inside a Computer.

post/v1/computers/{id}/exec

Request

  • Base URL: https://api.scalix.world
  • URL: https://api.scalix.world/v1/computers/{id}/exec
  • Auth: HTTP bearer

Path parameters

idstring required

Computer id

Request body

commandstring required
argsstring[] nullable
cwdstring nullable

Working directory inside the guest.

envobject
timeout_msinteger nullable

1000..600000, default 60000.

Example request

{
  "command": "bash"
}

Response

Command finished

exitCodeinteger required
stdoutstring required
stderrstring required

Changes

No recorded changes to this operation across all 1 revision of this API.