Ajouter Endpoints API (Deno)
parent
e85bf4b057
commit
599723ccfd
21
Endpoints-API-%28Deno%29.md
Normal file
21
Endpoints-API-%28Deno%29.md
Normal file
@ -0,0 +1,21 @@
|
||||
# Authentification
|
||||
| Endpoint | Méthode | Description |
|
||||
| --- | --- | --- |
|
||||
| /auth/login | POST | Login utilisateur |
|
||||
|
||||
---
|
||||
|
||||
# Gestion Utilisateurs
|
||||
| Endpoint | Méthode | Accès | Body |
|
||||
| --- | --- | --- | --- |
|
||||
| /users | GET | Admin | |
|
||||
| /users | POST | Admin | {email, username, password, role?} |
|
||||
| /users/{id} | DELETE | Admin | |
|
||||
|
||||
---
|
||||
|
||||
# Événements
|
||||
| Endpoint | Méthode | Accès |
|
||||
| --- | --- | --- |
|
||||
| /events | GET | User |
|
||||
| /events | POST | Admin |
|
Loading…
x
Reference in New Issue
Block a user