file

Handles chunked file uploads via PATCH (TUS-style). A POST to the same route initiates the session and returns a unique upload ID. Each PATCH request delivers a chunk identified by Upload-Name, Upload-Offset, and Upload-Length headers; when all chunks arrive, the file is assembled.

patch/api/file/{DirName}

Request

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

Response

Upload chunk received

object required

Changes