POST /apps/run
Runs one app action now, as the editor's "Run This Step" does.
Details #
Body: {"type": "app.<bundle id>.<intent id>", "params": {…}}. Uses the same runner as a macro step, for any app that is switched on, and answers with the action's output. It never waits for a dialog: an action that asks to confirm fails with what it asked.
Parameters #
curl --unix-socket "$SWITCHBOARD_HOME/engine.sock" -X POST http://localhost/apps/run
Run one app action now. The Unix socket needs no token; loopback 127.0.0.1:48080 needs Authorization: Bearer <api-token>.