file

Upload file to directory

Changed on

Uploads a file to the specified media directory.

post/api/file/{DirName}/{Name}

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/file/{DirName}/{Name}
  • Auth
    none declared

Query parameters

bsinteger

Block size used for fragmented uploads

sbinteger

Starting block index used for fragmented uploads

Response

File uploaded successfully

object required

Changes