Upload some content to the content repository.

POST {{baseUrl}}/upload?filename=War and Peace.pdf

Request Params

KeyDatatypeRequiredDescription
filenamestringThe name of the file being uploaded

Request Body

["<", "b", "y", "t", "e", "s", ">"]

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;content_uri&quot;:&quot;mxc://example.com/AQwafuaFswefuhsfAFAgsw&quot;}