Expand description
Endpoints and helpers for the media repository.
Modules§
POST /_matrix/media/*/uploadPUT /_matrix/media/*/upload/{serverName}/{mediaId}POST /_matrix/media/*/createGET /_matrix/media/*/download/{serverName}/{mediaId}GET /_matrix/media/*/download/{serverName}/{mediaId}/{fileName}GET /_matrix/media/*/thumbnail/{serverName}/{mediaId}GET /_matrix/media/*/configGET /_matrix/media/*/preview_url
Functions§
- Checks whether a given
Content-Typeis considered “safe” for having aContent-Dispositionofinlinereturned on/download, as recommended by the spec.