Skip to content

Commit a9b6588

Browse files
committed
Allow guests to access media (MSC4189)
MSC: matrix-org/matrix-spec-proposals#4189
1 parent c8ad740 commit a9b6588

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Diff for: changelogs/client_server/newsfragments/1959.feature

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
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).

Diff for: content/client-server-api/modules/guest_access.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ rather than allowing all homeservers to enforce the rules on each other.
3333
#### Client behaviour
3434

3535
The following API endpoints are allowed to be accessed by guest accounts
36-
for retrieving events:
36+
for retrieving events and associated media:
3737

3838
* [GET /rooms/{roomId}/state](#get_matrixclientv3roomsroomidstate)
3939
* [GET /rooms/{roomId}/context/{eventId}](#get_matrixclientv3roomsroomidcontexteventid)
@@ -44,6 +44,9 @@ for retrieving events:
4444
* [GET /rooms/{roomId}/initialSync](#get_matrixclientv3roomsroomidinitialsync)
4545
* [GET /sync](#get_matrixclientv3sync)
4646
* [GET /events](#get_matrixclientv3events) as used for room previews.
47+
* {{< added-in v="1.12" >}} [GET /media/download/{serverName}/{mediaId}](#get_matrixclientv1mediadownloadservernamemediaid)
48+
* {{< added-in v="1.12" >}} [GET /media/download/{serverName}/{mediaId}/{fileName}](#get_matrixclientv1mediadownloadservernamemediaidfilename)
49+
* {{< added-in v="1.12" >}} [GET /media/thumbnail/{serverName}/{mediaId}](#get_matrixclientv1mediathumbnailservernamemediaid)
4750

4851
The following API endpoints are allowed to be accessed by guest accounts
4952
for sending events:

0 commit comments

Comments
 (0)