Final public_rooms clarifications

* order by *joined* members
 * clarify pagination direction behaviour
pull/388/head
Richard van der Hoff 8 years ago
parent dca1d0c745
commit c175039a08

@ -32,7 +32,7 @@ paths:
Lists the public rooms on the server. Lists the public rooms on the server.
This API returns paginated responses. The rooms are ordered by the number This API returns paginated responses. The rooms are ordered by the number
of members, with the largest rooms first. of joined members, with the largest rooms first.
parameters: parameters:
- in: query - in: query
name: limit name: limit
@ -158,7 +158,7 @@ paths:
Lists the public rooms on the server, with optional filter. Lists the public rooms on the server, with optional filter.
This API returns paginated responses. The rooms are ordered by the number This API returns paginated responses. The rooms are ordered by the number
of members, with the largest rooms first. of joined members, with the largest rooms first.
security: security:
- accessToken: [] - accessToken: []
parameters: parameters:
@ -183,8 +183,10 @@ paths:
since: since:
type: string type: string
description: |- description: |-
A pagination token from a previous request, allowing clients to A pagination token from a previous request, allowing clients
get the next or previous batch of rooms. to get the next (or previous) batch of rooms. The direction
of pagination is specified solely by which token is supplied,
rather than via an explicit flag.
filter: filter:
type: object type: object
title: "Filter" title: "Filter"
@ -271,8 +273,6 @@ paths:
A pagination token that allows fetching previous results. The A pagination token that allows fetching previous results. The
absence of this token means there are no results before this absence of this token means there are no results before this
batch, i.e. this is the first batch. batch, i.e. this is the first batch.
The direction of pagination is specified solely by which token
is supplied, rather than via an explicit flag.
total_room_count_estimate: total_room_count_estimate:
type: number type: number
description: |- description: |-

Loading…
Cancel
Save