mirror of
https://github.com/gosticks/octoprint-open-api.git
synced 2025-10-16 11:45:38 +00:00
22 lines
856 B
YAML
22 lines
856 B
YAML
"201":
|
|
description: Created
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: ../schemas/files/UploadResponse.yaml
|
|
"400":
|
|
description: >-
|
|
If no file or foldername are included in the request, userdata was provided but could not be parsed as JSON or the request is otherwise invalid.
|
|
"404":
|
|
description: >-
|
|
If location is neither local nor sdcard or trying to upload to SD card and SD card support is disabled
|
|
"409":
|
|
description: >-
|
|
If the upload of the file would override the file that is currently being printed or if an upload to SD card was requested and the printer is either not operational or currently busy with a print job.
|
|
"415":
|
|
description: >-
|
|
If the file is neither a gcode nor an stl file (or it is an stl file but slicing support is disabled)
|
|
"500":
|
|
description: >-
|
|
If the upload failed internally
|