diff options
author | Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> | 2022-01-31 17:24:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-31 16:24:29 +0000 |
commit | 0da2301b21399b85a955d92dc355024a67b8cb40 (patch) | |
tree | 6f0f4f5c7e5250e44ca820d3706d738ab1c9c13d /docs/admin_api/event_reports.md | |
parent | Remove the obsolete MSC1849 configuration flag. (#11843) (diff) | |
download | synapse-0da2301b21399b85a955d92dc355024a67b8cb40.tar.xz |
Consolidate the `access_token` information in the admin api (#11861)
Co-authored-by: reivilibre <olivier@librepush.net>
Diffstat (limited to 'docs/admin_api/event_reports.md')
-rw-r--r-- | docs/admin_api/event_reports.md | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/admin_api/event_reports.md b/docs/admin_api/event_reports.md index f523774ba8..be6f0961bf 100644 --- a/docs/admin_api/event_reports.md +++ b/docs/admin_api/event_reports.md @@ -2,12 +2,13 @@ This API returns information about reported events. +To use it, you will need to authenticate by providing an `access_token` +for a server admin: see [Admin API](../usage/administration/admin_api). + The api is: ``` GET /_synapse/admin/v1/event_reports?from=0&limit=10 ``` -To use it, you will need to authenticate by providing an `access_token` for a -server admin: see [Admin API](../usage/administration/admin_api). It returns a JSON body like the following: @@ -94,8 +95,6 @@ The api is: ``` GET /_synapse/admin/v1/event_reports/<report_id> ``` -To use it, you will need to authenticate by providing an `access_token` for a -server admin: see [Admin API](../usage/administration/admin_api). It returns a JSON body like the following: |