From 599723ccfdcf037150e7c68769308e36c594c4ba Mon Sep 17 00:00:00 2001 From: "francois.baille" Date: Sun, 4 May 2025 05:56:41 +0200 Subject: [PATCH] Ajouter Endpoints API (Deno) --- Endpoints-API-%28Deno%29.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Endpoints-API-%28Deno%29.md diff --git a/Endpoints-API-%28Deno%29.md b/Endpoints-API-%28Deno%29.md new file mode 100644 index 0000000..04a915c --- /dev/null +++ b/Endpoints-API-%28Deno%29.md @@ -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 | \ No newline at end of file