Signup create

POST /api/signup/

Body Required

  • username string Required

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

    Maximum length is 150. Format should match the following pattern: ^[\w.@+-]+$.

  • email string(email)

    Maximum length is 254.

  • password string Required

    Maximum length is 128.

Responses

  • Hide response attributes Show response attributes object
    • id integer Required
    • username string Required

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

      Maximum length is 150. Format should match the following pattern: ^[\w.@+-]+$.

    • email string(email)

      Maximum length is 254.

POST /api/signup/
curl \
 -X POST http://api.example.com/api/signup/ \
 -H "Content-Type: application/json" \
 -d '{"username":"string","email":"hello@example.com","password":"string"}'
Request example
{
  "username": "string",
  "email": "hello@example.com",
  "password": "string"
}
Request examples
{
  "username": "string",
  "email": "hello@example.com",
  "password": "string"
}
Response examples (200)
{
  "id": 42,
  "username": "string",
  "email": "hello@example.com"
}
Response examples (200)
{
  "id": 42,
  "username": "string",
  "email": "hello@example.com"
}