upload file or create folder

Changed on
put/api/v1/files/{storage}/{path}

Request

  • The document declares no server URL.
  • Auth
    HTTP digest

Headers

Content-Lengthinteger
Example:101342

Length of file to upload

Content-Typestring

Type of uploaded media

Print-After-Upload'?0' | '?1'

?0=False, ?1=True, according RFC8941/3.3.6

Whether to start printing the file after upload

Overwrite'?0' | '?1'

?0=False, ?1=True, according RFC8941/3.3.6

Whether to overwrite already existing files

Request body application/octet-stream

string binary required

Response

Created

Changes

    • info

      added optional request body

    • breaking

      the Print-After-Upload request header's property undefined was restricted to a list of enum values

    • breaking

      the header request parameter Print-After-Upload was restricted to a list of enum values

    • breaking

      for the header request parameter Print-After-Upload, default value was changed from false to ?0

    • info

      added the new enum value ?0 to the header request parameter Print-After-Upload

    • info

      added the new enum value ?1 to the header request parameter Print-After-Upload

    • info

      for the header request parameter Print-After-Upload, the type was generalized from boolean to string