mirror of
https://github.com/gosticks/octoprint-open-api.git
synced 2025-10-16 11:45:38 +00:00
22 lines
606 B
YAML
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
|