diff options
author | lain <lain@soykaf.club> | 2020-04-27 14:33:21 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-04-27 14:33:21 +0200 |
commit | 4cadaf7e96bed51545d82deb86b5554cd009020e (patch) | |
tree | 3821b9b8524e2adb2f47fbfd6fd8fd5a78dea7c7 | |
parent | 3635a9c9c25db16be292c5f56c27ab5d5f5affb5 (diff) | |
download | pleroma-4cadaf7e96bed51545d82deb86b5554cd009020e.tar.gz pleroma-4cadaf7e96bed51545d82deb86b5554cd009020e.zip |
Docs: Add `/api/v1/instance` information
-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 41ceda26b..d0a776ebf 100644 --- a/docs/API/differences_in_mastoapi_responses.md +++ b/docs/API/differences_in_mastoapi_responses.md @@ -191,3 +191,17 @@ Has theses additional parameters (which are the same as in Pleroma-API): - `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. + +## 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 |