auth

Register a new user account

Changed on

Create a new user account with username, password, email, and optional personal information. Returns user data and authentication token upon successful registration.

post/auth/register/

Request

  • The document declares no server URL.
  • Auth: one of:
    • API key in header Authorization
    • none

Request body

idstring uuid required
usernamestring required

Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.

passwordstring required
password2string required
emailstring email required
display_namestring
birth_datestring date-time nullable
death_datestring date-time nullable
is_deadboolean

Response

tokenstring required

Authentication token

Changes

    • breaking

      removed the required property /////// from the response with the status

    • breaking

      the ///// response property's maxLength was unset from 150 for the response status

    • breaking

      removed the required property ///// from the response with the status

    • warning

      removed the request property (media type: application/json)

    • warning

      removed the request property (media type: application/x-www-form-urlencoded)

    • warning

      removed the request property (media type: multipart/form-data)

    • warning

      removed the request property (media type: application/json)

    • warning

      removed the request property (media type: application/x-www-form-urlencoded)

    • warning

      removed the request property (media type: multipart/form-data)

    • warning

      removed the optional property ///// from the response with the status

    • warning

      removed the optional property ///// from the response with the status

    • info

      added the new optional request property (media type: application/json)

    • info

      added the new optional request property (media type: application/x-www-form-urlencoded)

    • info

      added the new optional request property (media type: multipart/form-data)

    • info

      added the new optional request property (media type: application/json)

    • info

      added the new optional request property (media type: application/x-www-form-urlencoded)

    • info

      added the new optional request property (media type: multipart/form-data)

    • info

      added the new optional request property (media type: application/json)

    • info

      added the new optional request property (media type: application/x-www-form-urlencoded)

    • info

      added the new optional request property (media type: multipart/form-data)

    • info

      added the new optional request property (media type: application/json)

    • info

      added the new optional request property (media type: application/x-www-form-urlencoded)

    • info

      added the new optional request property (media type: multipart/form-data)

    • info

      removed the pattern ^[\w.@+-]+$ from the request property (media type: application/json)

    • info

      removed the pattern ^[\w.@+-]+$ from the request property (media type: application/x-www-form-urlencoded)

    • info

      removed the pattern ^[\w.@+-]+$ from the request property (media type: multipart/form-data)

    • info

      the request required property became read-only (media type: application/json)

    • info

      the request required property became read-only (media type: application/x-www-form-urlencoded)

    • info

      the request required property became read-only (media type: multipart/form-data)

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      the ///// response's property pattern ^[\w.@+-]+$ was removed for the status

    • info

      added the required property ///// to the response with the status

    • info

      added the required property ///// to the response with the status

    • info

      the response required property ///// became read-only for the status