mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-21 02:14:09 +02:00
spell out that the media repo is distributed...
This commit is contained in:
parent
6c9bbb0062
commit
30fc5284db
|
|
@ -7,7 +7,10 @@ HTTP API
|
||||||
--------
|
--------
|
||||||
|
|
||||||
Uploads are POSTed to a resource which returns a token which is used to GET
|
Uploads are POSTed to a resource which returns a token which is used to GET
|
||||||
the download::
|
the download. Uploads are POSTed to the sender's local homeserver, but are
|
||||||
|
downloaded from the recipient's local homeserver, which must thus first transfer
|
||||||
|
the content from the origin homeserver using the same API (unless the origin
|
||||||
|
and destination homeservers are the same). The upload/download API is::
|
||||||
|
|
||||||
=> POST /_matrix/media/v1/upload HTTP/1.1
|
=> POST /_matrix/media/v1/upload HTTP/1.1
|
||||||
Content-Type: <media-type>
|
Content-Type: <media-type>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue