Merge pull request #244 from matrix-org/daniel/avatarurls

Return room avatar URLs in /publicRooms
This commit is contained in:
Daniel Wagner-Hall 2016-01-06 18:00:32 +00:00
commit 3dc7eb23fa

View file

@ -67,6 +67,9 @@ paths:
Whether guest users may join the room and participate in it. Whether guest users may join the room and participate in it.
If they can, they will be subject to ordinary power level If they can, they will be subject to ordinary power level
rules like any other user. rules like any other user.
avatar_url:
type: string
description: The URL for the room's avatar, if one is set.
start: start:
type: string type: string
description: |- description: |-
@ -81,6 +84,7 @@ paths:
"chunk": [ "chunk": [
{ {
"aliases": ["#murrays:cheese.bar"], "aliases": ["#murrays:cheese.bar"],
"avatar_url": "mxc://bleeker.street/CHEDDARandBRIE",
"guest_can_join": false, "guest_can_join": false,
"name": "CHEESE", "name": "CHEESE",
"num_joined_members": 37, "num_joined_members": 37,