mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-20 16:38:37 +01:00
Return a mxc URI rather than a token from _matrix/media/v1/upload
This commit is contained in:
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…
Reference in a new issue