Skip to content

Commit

Permalink
fix api doc file
Browse files Browse the repository at this point in the history
  • Loading branch information
Horlawhumy-dev committed Jul 5, 2024
1 parent 2be812b commit a34034f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api_doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ Auth Endpoints:
- Auth: Not required
- Response: name, email, password, password2, address

Note: The register endpoint above creates a normal user account. However, an admin account can be gotten from a normal
user account when a superuser logins to Django admin page and update `is_admin` metadata to `true`
and add `Admin` group for the user.

2. POST /api/users/login/
- Description: login user
- Request Body: email, password
Expand Down

0 comments on commit a34034f

Please sign in to comment.