Allow guests to access media (MSC4189) (#1959)
MSC: https://github.com/matrix-org/matrix-spec-proposals/pull/4189
This commit is contained in:
parent
c8ad740ba4
commit
9486237f1b
2 changed files with 5 additions and 1 deletions
1
changelogs/client_server/newsfragments/1959.feature
Normal file
1
changelogs/client_server/newsfragments/1959.feature
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Guest accounts can now download/thumbnail media from the new authenticated endpoints, as per [MSC4189](https://github.com/matrix-org/matrix-spec-proposals/pull/4189).
|
|
@ -33,7 +33,7 @@ rather than allowing all homeservers to enforce the rules on each other.
|
||||||
#### Client behaviour
|
#### Client behaviour
|
||||||
|
|
||||||
The following API endpoints are allowed to be accessed by guest accounts
|
The following API endpoints are allowed to be accessed by guest accounts
|
||||||
for retrieving events:
|
for retrieving events and associated media:
|
||||||
|
|
||||||
* [GET /rooms/{roomId}/state](#get_matrixclientv3roomsroomidstate)
|
* [GET /rooms/{roomId}/state](#get_matrixclientv3roomsroomidstate)
|
||||||
* [GET /rooms/{roomId}/context/{eventId}](#get_matrixclientv3roomsroomidcontexteventid)
|
* [GET /rooms/{roomId}/context/{eventId}](#get_matrixclientv3roomsroomidcontexteventid)
|
||||||
|
@ -44,6 +44,9 @@ for retrieving events:
|
||||||
* [GET /rooms/{roomId}/initialSync](#get_matrixclientv3roomsroomidinitialsync)
|
* [GET /rooms/{roomId}/initialSync](#get_matrixclientv3roomsroomidinitialsync)
|
||||||
* [GET /sync](#get_matrixclientv3sync)
|
* [GET /sync](#get_matrixclientv3sync)
|
||||||
* [GET /events](#get_matrixclientv3events) as used for room previews.
|
* [GET /events](#get_matrixclientv3events) as used for room previews.
|
||||||
|
* {{< added-in v="1.12" >}} [GET /media/download/{serverName}/{mediaId}](#get_matrixclientv1mediadownloadservernamemediaid)
|
||||||
|
* {{< added-in v="1.12" >}} [GET /media/download/{serverName}/{mediaId}/{fileName}](#get_matrixclientv1mediadownloadservernamemediaidfilename)
|
||||||
|
* {{< added-in v="1.12" >}} [GET /media/thumbnail/{serverName}/{mediaId}](#get_matrixclientv1mediathumbnailservernamemediaid)
|
||||||
|
|
||||||
The following API endpoints are allowed to be accessed by guest accounts
|
The following API endpoints are allowed to be accessed by guest accounts
|
||||||
for sending events:
|
for sending events:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue