mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-06-10 02:07:48 +02:00
Update ordering behaviour for room directory listing
As per MSC4423
This commit is contained in:
parent
2b68fd935c
commit
57590f62a3
|
|
@ -137,8 +137,12 @@ paths:
|
|||
description: |-
|
||||
Lists a server's published room directory.
|
||||
|
||||
This API returns paginated responses. The rooms are ordered by the number
|
||||
of joined members, with the largest rooms first.
|
||||
This API returns paginated responses.
|
||||
|
||||
{{% changed-in v="1.19" %}} The server determines the order of the rooms
|
||||
returned by this endpoint. Previously, rooms were ordered with the largest
|
||||
joined member count first. Continuing to order by largest first or another
|
||||
stable order is recommended.
|
||||
operationId: getPublicRooms
|
||||
parameters:
|
||||
- in: query
|
||||
|
|
@ -177,8 +181,12 @@ paths:
|
|||
description: |-
|
||||
Lists a server's published room directory with an optional filter.
|
||||
|
||||
This API returns paginated responses. The rooms are ordered by the number
|
||||
of joined members, with the largest rooms first.
|
||||
This API returns paginated responses.
|
||||
|
||||
{{% changed-in v="1.19" %}} The server determines the order of the rooms
|
||||
returned by this endpoint. Previously, rooms were ordered with the largest
|
||||
joined member count first. Continuing to order by largest first or another
|
||||
stable order is recommended.
|
||||
operationId: queryPublicRooms
|
||||
security:
|
||||
- accessTokenQuery: []
|
||||
|
|
|
|||
|
|
@ -22,8 +22,12 @@ paths:
|
|||
description: |-
|
||||
Lists the server's published room directory.
|
||||
|
||||
This API returns paginated responses. The rooms are ordered by the number
|
||||
of joined members, with the largest rooms first.
|
||||
This API returns paginated responses.
|
||||
|
||||
{{% changed-in v="1.19" %}} The server determines the order of the rooms
|
||||
returned by this endpoint. Previously, rooms were ordered with the largest
|
||||
joined member count first. Continuing to order by largest first or another
|
||||
stable order is recommended.
|
||||
|
||||
This SHOULD not return rooms that are listed on another homeserver's directory,
|
||||
just those listed on the receiving homeserver's directory.
|
||||
|
|
@ -76,8 +80,12 @@ paths:
|
|||
description: |-
|
||||
Lists the server's published room directory with an optional filter.
|
||||
|
||||
This API returns paginated responses. The rooms are ordered by the number
|
||||
of joined members, with the largest rooms first.
|
||||
This API returns paginated responses.
|
||||
|
||||
{{% changed-in v="1.19" %}} The server determines the order of the rooms
|
||||
returned by this endpoint. Previously, rooms were ordered with the largest
|
||||
joined member count first. Continuing to order by largest first or another
|
||||
stable order is recommended.
|
||||
operationId: queryPublicRooms
|
||||
security:
|
||||
- signedRequest: []
|
||||
|
|
|
|||
Loading…
Reference in a new issue