octoprint-open-api/openapi/paths/settings/post.yaml
2020-11-13 23:03:11 +01:00

22 lines
606 B
YAML

summary: Update Settings
operationId: updateSettings
description: >-
Saves the provided settings in OctoPrint.
Expects a JSON object with the settings to change as request body. This can be either a full settings tree, or only a partial tree containing only those fields that should be updated.
tags:
- Settings
requestBody:
content:
application/json:
schema:
$ref: ../../components/schemas/Config.yaml
responses:
"200":
description: >-
Current OctoPrint state
content:
application/json:
schema:
$ref: ../../components/schemas/Config.yaml