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: