Admin API: Endpoint for fetching latest user's statuses

This commit is contained in:
Maxim Filippov 2019-07-14 00:37:19 +03:00
commit a9459ff98f
6 changed files with 67 additions and 1 deletions

View file

@ -187,6 +187,18 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret
- On failure: `Not found`
- On success: JSON of the user
## `/api/pleroma/admin/users/:nickname_or_id/statuses`
### Retrive user's latest statuses
- Method: `GET`
- Params:
- `nickname` or `id`
- *optional* `page_size`: number of statuses to return (default is `20`)
- Response:
- On failure: `Not found`
- On success: JSON array of user's latest statuses
## `/api/pleroma/admin/relay`
### Follow a Relay