Media
Upload some content to the content repository.
post/_matrix/media/v3/upload
Request
- Base URLhttps://matrix.org
- Auth
- API key in query parameter access_token
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
filenamestring
The name of the file being uploaded
Headers
Content-Typestring
Optional. The content type of the file being uploaded.
Clients SHOULD always supply this header.
Defaults to application/octet-stream if it is not set.
Request body application/octet-stream
string required
The content to be uploaded.
Example request
"<bytes>"
Changes
No recorded changes to this operation across all 1 revision of this API.