mirror of
https://github.com/gosticks/octoprint-open-api.git
synced 2026-08-16 22:40:23 +00:00
28 lines
859 B
YAML
28 lines
859 B
YAML
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 didn’t 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
|