aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Filippov <colixer@gmail.com>2019-09-29 00:01:35 +0300
committerMaxim Filippov <colixer@gmail.com>2019-09-29 00:01:35 +0300
commit0e59d1dc04db64decc0c3bd47e3bf459cb768710 (patch)
tree5edc08279665f548006ea979a6c0c7070e2a77db
parentb35a0f0ce4cd077300ac987449cccf057a9a216f (diff)
downloadpleroma-0e59d1dc04db64decc0c3bd47e3bf459cb768710.tar.gz
Update admin_api.md
-rw-r--r--docs/api/admin_api.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/api/admin_api.md b/docs/api/admin_api.md
index fcdb33944..8795c2628 100644
--- a/docs/api/admin_api.md
+++ b/docs/api/admin_api.md
@@ -330,10 +330,10 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret
### Get a list of reports
- Method `GET`
- Params:
- - `state`: optional, the state of reports. Valid values are `open`, `closed` and `resolved`
- - `limit`: optional, the number of records to retrieve
- - `since_id`: optional, returns results that are more recent than the specified id
- - `max_id`: optional, returns results that are older than the specified id
+ - *optional* `state`: **string** the state of reports. Valid values are `open`, `closed` and `resolved`
+ - *optional* `limit`: **integer** the number of records to retrieve
+ - *optional* `page`: **integer** page number
+ - *optional* `page_size`: **integer** number of log entries per page (default is `50`)
- Response:
- On failure: 403 Forbidden error `{"error": "error_msg"}` when requested by anonymous or non-admin
- On success: JSON, returns a list of reports, where: