Upload some content to the content repository.
POST {{baseUrl}}/upload?filename=War and Peace.pdf
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
filename | string | The name of the file being uploaded |
Request Body
["<", "b", "y", "t", "e", "s", ">"]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"content_uri":"mxc://example.com/AQwafuaFswefuhsfAFAgsw"}