1313# limitations under the License.
1414openapi : 3.1.0
1515info :
16- title: Matrix Client-Server Room Directory API
16+ title : Matrix Client-Server Published Room Directory API
1717 version : 1.0.0
1818paths :
1919 " /directory/list/room/{roomId} " :
2020 get :
2121 summary : Gets the visibility of a room in the directory
22- description: Gets the visibility of a given room in the server's room directory.
22+ description : |-
23+ Gets the visibility of a given room in the server's
24+ published room directory.
2325 operationId : getRoomVisibilityOnDirectory
2426 parameters :
2527 - in : path
6365 tags :
6466 - Room discovery
6567 put :
66- summary: Sets the visibility of a room in the room directory
68+ summary : Sets the visibility of a room in the directory
6769 description : |-
68- Sets the visibility of a given room in the server's room directory.
70+ Sets the visibility of a given room in the server's published room directory.
6971
7072 Servers MAY implement additional access control checks, for instance,
7173 to ensure that a room's visibility can only be changed by the room creator
@@ -99,7 +101,7 @@ paths:
99101 example : {
100102 " visibility " : " public"
101103 }
102- description: The new visibility for the room on the room directory.
104+ description : The new visibility for the room in the published room directory.
103105 required : true
104106 responses :
105107 " 200 " :
@@ -152,8 +154,8 @@ paths:
152154 - in : query
153155 name : server
154156 description : |-
155- The server to fetch the room directory from. Defaults to the
156- local server. Case sensitive.
157+ The server to fetch the published room directory from. Defaults
158+ to the local server. Case sensitive.
157159 schema :
158160 type : string
159161 responses :
@@ -180,8 +182,8 @@ paths:
180182 - in : query
181183 name : server
182184 description : |-
183- The server to fetch the room directory from. Defaults to the
184- local server. Case sensitive.
185+ The server to fetch the published room directory from. Defaults
186+ to the local server. Case sensitive.
185187 schema :
186188 type : string
187189 requestBody :
0 commit comments