From: Maksim Pechnikov Date: Mon, 4 May 2020 03:08:49 +0000 (+0300) Subject: Merge branch 'develop' into issue/1276-2 X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=fe7a0d660e357a03558be3a95ddbb8b409ef9a9e;p=akkoma Merge branch 'develop' into issue/1276-2 --- fe7a0d660e357a03558be3a95ddbb8b409ef9a9e diff --cc docs/API/differences_in_mastoapi_responses.md index a62719c5d,c099eb1a0..8d1da936f --- a/docs/API/differences_in_mastoapi_responses.md +++ b/docs/API/differences_in_mastoapi_responses.md @@@ -202,11 -202,19 +202,25 @@@ Has theses additional parameters (whic - `bio`: optional - `captcha_solution`: optional, contains provider-specific captcha solution, - `captcha_token`: optional, contains provider-specific captcha token + - `captcha_answer_data`: optional, contains provider-specific captcha data - `token`: invite token required when the registrations aren't public. + ## Instance + + `GET /api/v1/instance` has additional fields + + - `max_toot_chars`: The maximum characters per post + - `poll_limits`: The limits of polls + - `upload_limit`: The maximum upload file size + - `avatar_upload_limit`: The same for avatars + - `background_upload_limit`: The same for backgrounds + - `banner_upload_limit`: The same for banners + - `pleroma.metadata.features`: A list of supported features + - `pleroma.metadata.federation`: The federation restrictions of this instance + - `vapid_public_key`: The public key needed for push messages + +## Markers + +Has these additional fields under the `pleroma` object: + +- `unread_count`: contains number unread notifications