Optionalaccepted_The version of the terms of use agreed to, where the server names one.
OptionalcaptchaThe solved captcha of GET /api/register, where it named one.
OptionalemailThe address, where the server asks for one (email in
GET /api/register).
OptionalinviteThe token of an invitation.
OptionallanguageThe language of the page, such as de: the account's mail is
written in it.
What
POST /api/registerreads. It answers withMeand sets the session's cookie, as a login does.A refusal is 403 with one word:
terms(the terms of use the server names were not agreed to),closed(no invitation, and registration is not open),invite(the invitation cannot be used),full(no room for another account),today(enough accounts for one day) orcaptcha(no captcha came that counts, where open registration asks for one). A name or a password that cannot be one is 400 with the reason, a name that is taken 409.