From 7526ab3c26be090f6505013bb7d350e14584cf13 Mon Sep 17 00:00:00 2001 From: RemRem Date: Fri, 10 Nov 2023 14:20:53 +0100 Subject: [PATCH] add /user/info --- api_doc.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/api_doc.md b/api_doc.md index 02bd1ee..a18a9ed 100644 --- a/api_doc.md +++ b/api_doc.md @@ -45,6 +45,20 @@ Réponse: 401 UNAUTHORIZED ``` +### Info du compte +Requete: +``` +GET /user/info +header(Authorization: TOKEN) +``` + +Réponse: +``` +200 OK +401 UNAUTHORIZED +404 NOT FOUND +``` + ### Modification Attribut X peut etre remplacé "email" et "username" Requete: