accounts

POST /accounts/register/

Changed on

Register new user.

Request

  • The document declares no server URL.
  • Auth
    • OAuth 2
      Password
      Token URL: http://127.0.0.1:8000/o/token/ scopes: read write groups
    • or none

Request body

passwordstring required
usernamestring required

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

emailstring email required
first_namestring nullable

First name

last_namestring nullable

Last name

password_confirmstring required

Response

idinteger required
passwordstring required
usernamestring required

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

emailstring email required
first_namestring nullable

First name

last_namestring nullable

Last name

trust_scorenumber double nullable required

The trust score assigned to the user based on trusted domains and the vouching mechanism.

Changes

    • warning

      added the new MARK_AS_WATCHED_AND_RATE_LATER enum value to the ////// response property for the response status

    • info

      added the new MARK_AS_WATCHED_AND_RATE_LATER enum value to the request property ////// (media type: application/json)

    • info

      added the new MARK_AS_WATCHED_AND_RATE_LATER enum value to the request property ////// (media type: application/x-www-form-urlencoded)

    • info

      added the new MARK_AS_WATCHED_AND_RATE_LATER enum value to the 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 optional property // to the response with the status