Skip to main content

Upload media or a media archive

POST 

/api/upload/media

Uploads one local file using multipart field file. Archives (zip, tar, gz, and tar.gz) are safely extracted beneath the media root, and compatible MP4 files may be optimized for browser playback after upload. The response is a plain-text progress stream, so clients should consume it through the final line rather than treating the first bytes as completion.

Request

Responses

Streaming progress messages. Inspect the final lines to determine whether the operation completed or failed.