added an endpoint for getting unread notification count

This commit is contained in:
Maksim Pechnikov 2020-04-15 21:19:43 +03:00
commit 4b3b1fec4e
11 changed files with 214 additions and 51 deletions

View file

@ -185,8 +185,15 @@ Post here request with `grant_type=refresh_token` to obtain new access token. Re
Has theses additional parameters (which are the same as in Pleroma-API):
- `fullname`: optional
- `bio`: optional
- `captcha_solution`: optional, contains provider-specific captcha solution,
- `captcha_token`: optional, contains provider-specific captcha token
- `token`: invite token required when the registrations aren't public.
`fullname`: optional
`bio`: optional
`captcha_solution`: optional, contains provider-specific captcha solution,
`captcha_token`: optional, contains provider-specific captcha token
`token`: invite token required when the registrations aren't public.
## Markers
Has these additional fields under the `pleroma` object:
- `unread_count`: contains number unread notifications