Skip to content

Commit

Permalink
Allow guests to access media (MSC4189) (#1959)
Browse files Browse the repository at this point in the history
  • Loading branch information
turt2live authored Sep 30, 2024
1 parent c8ad740 commit 9486237
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1959.feature
Original file line number Diff line number Diff line change
@@ -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).
5 changes: 4 additions & 1 deletion content/client-server-api/modules/guest_access.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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:
Expand Down

0 comments on commit 9486237

Please sign in to comment.