POST/scripts/exec
Get a value from a configuration key.
Request
- application/json
Body
required
scriptName stringrequired
Default value: hello
The name of the script to run
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
message stringrequired
A message with clear information what's going on.
stdout stringrequired
A list of all the available scripts
stderr stringrequired
The shell error (if there was an error)
code stringrequired
The exit code of our shell script
{
"message": "string",
"stdout": "string",
"stderr": "string",
"code": "string"
}
Loading...