Merge branch 'docs/pleroma-api-invite-token' into 'develop'

docs/Pleroma-API.md: Add missing token field documentation

See merge request pleroma/pleroma!752
This commit is contained in:
Haelwenn 2019-01-31 22:28:08 +00:00
commit 0340fcaeca

View file

@ -52,6 +52,7 @@ Request parameters can be passed via [query strings](https://en.wikipedia.org/wi
* `confirm` * `confirm`
* `captcha_solution`: optional, contains provider-specific captcha solution, * `captcha_solution`: optional, contains provider-specific captcha solution,
* `captcha_token`: optional, contains provider-specific captcha token * `captcha_token`: optional, contains provider-specific captcha token
* `token`: invite token required when the registerations aren't public.
* Response: JSON. Returns a user object on success, otherwise returns `{"error": "error_msg"}` * Response: JSON. Returns a user object on success, otherwise returns `{"error": "error_msg"}`
* Example response: * Example response:
``` ```