Merge pull request #155 from matrix-org/daniel/publicwritable2
Specify /publicRooms world_readable and guest_access Depends on https://github.com/matrix-org/matrix-doc/pull/154
This commit is contained in:
commit
a80fcfa83b
1 changed files with 13 additions and 1 deletions
|
@ -57,6 +57,16 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
description: |-
|
description: |-
|
||||||
The topic of the room, if any. May be null.
|
The topic of the room, if any. May be null.
|
||||||
|
world_readable:
|
||||||
|
type: boolean
|
||||||
|
description: |-
|
||||||
|
Whether the room may be viewed by guest users without joining.
|
||||||
|
guest_can_join:
|
||||||
|
type: boolean
|
||||||
|
description: |-
|
||||||
|
Whether guest users may join the room and participate in it.
|
||||||
|
If they can, they will be subject to ordinary power level
|
||||||
|
rules like any other user.
|
||||||
start:
|
start:
|
||||||
type: string
|
type: string
|
||||||
description: |-
|
description: |-
|
||||||
|
@ -71,10 +81,12 @@ paths:
|
||||||
"chunk": [
|
"chunk": [
|
||||||
{
|
{
|
||||||
"aliases": ["#murrays:cheese.bar"],
|
"aliases": ["#murrays:cheese.bar"],
|
||||||
|
"guest_can_join": false,
|
||||||
"name": "CHEESE",
|
"name": "CHEESE",
|
||||||
"num_joined_members": 37,
|
"num_joined_members": 37,
|
||||||
"room_id": "!ol19s:bleecker.street",
|
"room_id": "!ol19s:bleecker.street",
|
||||||
"topic": "Tasty tasty cheese"
|
"topic": "Tasty tasty cheese",
|
||||||
|
"world_readable": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"start": "p190q",
|
"start": "p190q",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue