Return a mxc URI rather than a token from _matrix/media/v1/upload
This commit is contained in:
parent
01b4dae166
commit
e3b83479a3
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue