Finished documentation

This commit is contained in:
2024-11-22 14:18:40 +01:00
parent 0c2c02136d
commit fee99c60b6
5 changed files with 98 additions and 32 deletions

View File

@@ -14,8 +14,8 @@ Base endpoint: `/api/v1/authentication`\
| Method | Endpoint | Payload | Returns |
|--------|---------------|--------------------------------------------------------------|-----------------------|
| PUT | /login | [UserLogin](./models.md#UserLogin) | access token (string) |
| POST | /register | [UserRegister](./models#UserRegister) | access token (string) |
| PUT | /login | [UserLogin](../models.md#UserLogin) | access token (string) |
| POST | /register | [UserRegister](../models.md#UserRegister) | access token (string) |
| GET | /authenticate | | access token (string) |
| DELETE | /logout | | |
| DELETE | /delete | [UserPasswordValidation](./models.md#UserPasswordValidation) | |