mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-31 12:38:47 -04:00
Update docs in media_repository
This commit is contained in:
parent
58fa6d3fc6
commit
3610641a62
1 changed files with 2 additions and 2 deletions
|
@ -39,9 +39,9 @@ class MediaRepositoryResource(Resource):
|
||||||
<= HTTP/1.1 200 OK
|
<= HTTP/1.1 200 OK
|
||||||
Content-Type: application/json
|
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
|
<= HTTP/1.1 200 OK
|
||||||
Content-Type: <media-type>
|
Content-Type: <media-type>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue