fs

Create a new file or folder on the host

Changed on
post/fs

Request

  • The document declares no server URL.
  • Auth
    none declared

Query parameters

type'dir' | 'file' required

type to create (file or folder)

Request body multipart/form-data

filestring binary
filenamestring

filename to use (if it should be another one than the original filename)

filenameEncoding'uri'

Set to uri when filename is percent-encoded, as used by the legacy upload component.

forceboolean

replace existing file

Response

successful operation

Changes

    • info

      added the new optional request property

    • info

      added the non-success response with the status

    • warning

      deleted the query request parameter force

    • info

      added the new optional request property

    • info

      added the new optional request property