v1

latestOpenAPI 3.0.22026-07-17373198641.7 KB
rest_auth
v1

Check the credentials and return the REST Token if the credentials are valid and authenticated. Calls Django Auth login method to register User ID in Django session framework

Accept the following POST parameters: username, password Return the REST Framework Token Object's key.

post/rest-auth/login/

Request body

usernamestring
emailstring email
passwordstring required

Example request

{
  "password": "password",
  "email": "email",
  "username": "username"
}

Response

keystring required
user_namestring
userstring

Example response

{
  "user_name": "user_name",
  "user": "user",
  "key": "key"
}