Files
2020-11-04 00:02:26 +01:00

28 lines
859 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
summary: Execute a registered system command
operationId: executeSysCmd
description: >-
Execute the system command action defined in source.
tags:
- System Commands
parameters:
- $ref: ../../../components/parameters/systemCmdSource.yaml
- in: path
name: action
schema:
type: string
description: >-
The identifier of the command, action from its definition
responses:
"204":
description: >-
Command executed
"400":
description: >-
If a divider is supposed to be executed or if the request is malformed otherwise
"404":
description: >-
If the command could not be found for source and action
"500":
description: >-
If the command didnt define a command to execute, the command returned a non-zero return code and ignore was not true or some other internal server error occurred