summary refs log tree commit diff
path: root/docs/admin_api/rooms.md
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2020-01-23 12:58:03 +0000
committerBrendan Abolivier <babolivier@matrix.org>2020-01-23 12:58:03 +0000
commitba64c3b615f8c636edfcd0914dcac14748d2ec5a (patch)
tree03ed148f29b9f2b6f69eff9f76172c8add756ae1 /docs/admin_api/rooms.md
parent1.9.0 (diff)
parentUpdate admin room docs with correct endpoints (#6770) (diff)
downloadsynapse-ba64c3b615f8c636edfcd0914dcac14748d2ec5a.tar.xz
Merge branch 'release-v1.9.0' of github.com:matrix-org/synapse into release-v1.9.0
Diffstat (limited to 'docs/admin_api/rooms.md')
-rw-r--r--docs/admin_api/rooms.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/admin_api/rooms.md b/docs/admin_api/rooms.md

index 082721ea95..2db457c1b6 100644 --- a/docs/admin_api/rooms.md +++ b/docs/admin_api/rooms.md
@@ -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 {} ``` @@ -78,7 +78,7 @@ Response: Filtering by room name: ``` -GET /_synapse/admin/rooms?search_term=TWIM +GET /_synapse/admin/v1/rooms?search_term=TWIM {} ``` @@ -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 {} ``` @@ -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 {} ```