Return a mxc URI rather than a token from _matrix/media/v1/upload

pull/3/head
Mark Haines 10 years ago
parent 01b4dae166
commit e3b83479a3

@ -17,9 +17,9 @@ the download::
<= HTTP/1.1 200 OK
Content-Type: application/json
{ "token": <media-id> }
{ "content-uri": "mxc://<server-name>/<media-id>" }
=> GET /_matrix/media/v1/download/<server_name>/<media-id> HTTP/1.1
=> GET /_matrix/media/v1/download/<server-name>/<media-id> HTTP/1.1
<= HTTP/1.1 200 OK
Content-Type: <media-type>

Loading…
Cancel
Save