Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge branch 'release-v1.9.0' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
anoadragon453 committed Jan 23, 2020
2 parents ce84dd9 + d31f5f4 commit 0434533
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions changelog.d/6770.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix endpoint documentation for the List Rooms admin api.
8 changes: 4 additions & 4 deletions docs/admin_api/rooms.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ The following fields are possible in the JSON response body:
A standard request with no filtering:

```
GET /_synapse/admin/rooms
GET /_synapse/admin/v1/rooms
{}
```
Expand Down Expand Up @@ -78,7 +78,7 @@ Response:
Filtering by room name:

```
GET /_synapse/admin/rooms?search_term=TWIM
GET /_synapse/admin/v1/rooms?search_term=TWIM
{}
```
Expand All @@ -103,7 +103,7 @@ Response:
Paginating through a list of rooms:

```
GET /_synapse/admin/rooms?order_by=size
GET /_synapse/admin/v1/rooms?order_by=size
{}
```
Expand Down Expand Up @@ -139,7 +139,7 @@ To get the next batch of room results, we repeat our request, setting the `from`
parameter to the value of `next_token`.

```
GET /_synapse/admin/rooms?order_by=size&from=100
GET /_synapse/admin/v1/rooms?order_by=size&from=100
{}
```
Expand Down

0 comments on commit 0434533

Please sign in to comment.