Matrix Client-Server Content Repository API

Number of APIs: 6

  1. Upload some content to the content repository. POST {{baseUrl}}/upload?filename=War and Peace.pdf

  2. Download a thumbnail of content from the content repository GET {{baseUrl}}/thumbnail/:serverName/:mediaId?width=64&height=64&method=scale&allow_remote=true

  3. Get information about a URL for a client GET {{baseUrl}}/preview_url?url=https://matrix.org&ts=1510610716656

  4. Get the configuration for the content repository. GET {{baseUrl}}/config

  5. download/{server Name}/{media Id} - Download content from the content repository. GET {{baseUrl}}/download/:serverName/:mediaId?allow_remote=true

  6. download/{server Name}/{media Id} - Download content from the content repository overriding the file name GET {{baseUrl}}/download/:serverName/:mediaId/:fileName?allow_remote=true