Evaluate a cli command
POST/cli/evaluate
This method can be used to analyze if the command can be interpreted without executing it. When this method returns a 200 OK, the command can be parsed and evaluated.
Request​
Query Parameters
env object
All search parameter form the environment passed to the CLI interpreter.
- text/plain
Body
The command will be sent as request body. A command can contain multiple command line separated by semicolon. Every single line can contain multiple commands that are combined via the pipe operator.
string
Responses​
- 200
- 300
When the command can be evaluated.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
property name* any
[
{}
]
When the command can not be evaluated.
- text/plain
- Schema
Schema
string
Loading...