|
|
@ -99,37 +99,7 @@ paths:
|
|
|
|
200:
|
|
|
|
200:
|
|
|
|
description: The visibility was updated, or no change was needed.
|
|
|
|
description: The visibility was updated, or no change was needed.
|
|
|
|
examples:
|
|
|
|
examples:
|
|
|
|
application/json: {
|
|
|
|
application/json: {}
|
|
|
|
}
|
|
|
|
|
|
|
|
404:
|
|
|
|
|
|
|
|
description: The room is not known to the server
|
|
|
|
|
|
|
|
examples:
|
|
|
|
|
|
|
|
application/json: {
|
|
|
|
|
|
|
|
"errcode": "M_NOT_FOUND",
|
|
|
|
|
|
|
|
"error": "Room not found"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
delete:
|
|
|
|
|
|
|
|
summary: Sets a room to be private on the room directory
|
|
|
|
|
|
|
|
description: |-
|
|
|
|
|
|
|
|
Updates the visibility of a room to be private on the server's room
|
|
|
|
|
|
|
|
directory. This is the same as using the PUT operation with a private
|
|
|
|
|
|
|
|
as the visibility.
|
|
|
|
|
|
|
|
operationId: setRoomPrivateOnDirectory
|
|
|
|
|
|
|
|
security:
|
|
|
|
|
|
|
|
- accessToken: []
|
|
|
|
|
|
|
|
parameters:
|
|
|
|
|
|
|
|
- in: path
|
|
|
|
|
|
|
|
type: string
|
|
|
|
|
|
|
|
name: roomId
|
|
|
|
|
|
|
|
description: The room ID.
|
|
|
|
|
|
|
|
required: true
|
|
|
|
|
|
|
|
x-example: "!curbf:matrix.org"
|
|
|
|
|
|
|
|
responses:
|
|
|
|
|
|
|
|
200:
|
|
|
|
|
|
|
|
description: The visibility was updated, or no change was needed.
|
|
|
|
|
|
|
|
examples:
|
|
|
|
|
|
|
|
application/json: {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
404:
|
|
|
|
404:
|
|
|
|
description: The room is not known to the server
|
|
|
|
description: The room is not known to the server
|
|
|
|
examples:
|
|
|
|
examples:
|
|
|
|