diff options
author | rinpatch <rinpatch@sdf.org> | 2020-05-02 16:44:55 +0000 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2020-05-02 16:44:55 +0000 |
commit | 3126f8a334e4f0aeb6aad59e22c8f8c1ac9ec668 (patch) | |
tree | da0c76c39a7b09b5ee01aad9f4e28fa001a1c713 /docs/API | |
parent | d589f3dcfb961fa92bac8c8d140000de498353ff (diff) | |
parent | 5a3a5abc0c3315cba1ed3694e8a2876da8a5d294 (diff) | |
download | pleroma-3126f8a334e4f0aeb6aad59e22c8f8c1ac9ec668.tar.gz pleroma-3126f8a334e4f0aeb6aad59e22c8f8c1ac9ec668.zip |
Merge branch 'feature/1710-consolidate-instance-info' into 'develop'
Feature/1710 consolidate instance info
Closes #1710
See merge request pleroma/pleroma!2430
Diffstat (limited to 'docs/API')
-rw-r--r-- | docs/API/differences_in_mastoapi_responses.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/API/differences_in_mastoapi_responses.md b/docs/API/differences_in_mastoapi_responses.md index 041563de5..c099eb1a0 100644 --- a/docs/API/differences_in_mastoapi_responses.md +++ b/docs/API/differences_in_mastoapi_responses.md @@ -204,3 +204,17 @@ Has theses additional parameters (which are the same as in Pleroma-API): - `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 |