rueder frontend
    Preparing search index...

    Type Alias NewRegistration

    What POST /api/register reads. It answers with Me and 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) or captcha (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.

    type NewRegistration = {
        accepted_terms?: string;
        captcha?: CaptchaSolution;
        email?: string;
        invite?: string;
        language?: string;
        password: string;
        username: string;
    }
    Index
    accepted_terms?: string

    The version of the terms of use agreed to, where the server names one.

    captcha?: CaptchaSolution

    The solved captcha of GET /api/register, where it named one.

    email?: string

    The address, where the server asks for one (email in GET /api/register).

    invite?: string

    The token of an invitation.

    language?: string

    The language of the page, such as de: the account's mail is written in it.

    password: string
    username: string