boundless
It's possible to create a script and run it with the api, but there's no way to run an arbitrary one-time script.
We can obviously create, run, and then delete a script, but that's cumbersome. It's probably also possible to ssh to the server and run a script directly, but that's more complicated.
When running a script, I expect the initial request to start the execution and return a response with an id (or token) that can be used to poll or query the script status on further requests (possibly to a different endpoint). The idea is to know when the script finishes running and also get the script output from stdout and stderr.
boundless
Item authorApparently a similar request already exists: https://roadmap.ploi.io/items/65-execute-ssh-commands-via-api
Run arbitrary scripts on a server via the API
-
Dennis moved item to board Planned
2 years ago -
boundless moved item to project API Level Requests
2 years ago -
boundless created the item
2 years ago