/api/scripts/run

Download PDF

REST API endpoint: /api/scripts/run

/api/scripts/run

POST

Summary: Run one script and return its output

Runs an installed trigger script on the Script Server with a supplied event and waits for it. A non-zero returncode is a failing script, not a failing request.

Parameters

NameTypeRequiredDescription
timeoutintegerNoSeconds to wait for the script (1-30)

Request Body

json
{
  "example": "request body"
}

Responses

200

404

502

503

504

/api/scripts/run | LogZilla Documentation