Deploy Promiscuity Auth API / deploy (push) Successful in 1m13s
Deploy Promiscuity Character API / deploy (push) Successful in 59s
Deploy Promiscuity Crafting API / deploy (push) Successful in 58s
Deploy Promiscuity Inventory API / deploy (push) Successful in 58s
Deploy Promiscuity Locations API / deploy (push) Successful in 59s
Deploy Promiscuity Mail API / deploy (push) Successful in 59s
Deploy Promiscuity World API / deploy (push) Successful in 59s
k8s smoke test / test (push) Successful in 20s
13 lines
479 B
Markdown
13 lines
479 B
Markdown
# AuthApi
|
|
|
|
## Document shapes
|
|
See `DOCUMENTS.md` for request payloads and stored document shapes.
|
|
|
|
## Endpoints
|
|
- `POST /api/auth/register` Register a USER account with a username, email, and password.
|
|
- `POST /api/auth/login` Issue access and refresh tokens.
|
|
- `POST /api/auth/refresh` Refresh an access token.
|
|
- `POST /api/auth/logout` Revoke the current access token.
|
|
- `POST /api/auth/role` Update a user's role (SUPER only).
|
|
- `GET /api/auth/users` List users (SUPER only).
|