Allow guests to access media (MSC4189) (#1959)

MSC: https://github.com/matrix-org/matrix-spec-proposals/pull/4189
pull/1867/head
Travis Ralston 2 months ago committed by GitHub
parent c8ad740ba4
commit 9486237f1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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
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}/context/{eventId}](#get_matrixclientv3roomsroomidcontexteventid)
@ -44,6 +44,9 @@ for retrieving events:
* [GET /rooms/{roomId}/initialSync](#get_matrixclientv3roomsroomidinitialsync)
* [GET /sync](#get_matrixclientv3sync)
* [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
for sending events:

Loading…
Cancel
Save