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

MSC: https://github.com/matrix-org/matrix-spec-proposals/pull/4189
This commit is contained in:
Travis Ralston 2024-09-30 19:36:17 +02:00 committed by GitHub
parent c8ad740ba4
commit 9486237f1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View file

@ -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: