From 509e1d6eda12ceff44470af76512eaf8094c96db Mon Sep 17 00:00:00 2001 From: Geoffrey Frogeye Date: Sat, 28 Jan 2017 13:52:17 +0100 Subject: [PATCH] API: Login --- api.raml | 54 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 28 insertions(+), 26 deletions(-) diff --git a/api.raml b/api.raml index a8d1e86..9047682 100644 --- a/api.raml +++ b/api.raml @@ -2,30 +2,32 @@ title: API d'Etunicorn baseUri: https://etunicorn.plil.net/{version}/ version: v1 +/login: + /personne: - get: - description: Obtenir la liste des persones - responses: - 200: - body: - application/json: - example: - [ - { - "idPersonne": 42, - "idCarte": "AAAAA", - "naissance": "1997-02-14", - "solde": 1337, - "loginPoly": "gbontoux" - } - ] - put: - description: Ajoute un nouvel étudiant - queryParameters: - idCarte: - displayName: ID de la carte NFC - type: string - required: false - naissance: - displayName: Date de naissance - \ No newline at end of file + get: + description: Obtenir la liste des persones + responses: + 200: + body: + application/json: + example: + [ + { + "idPersonne": 42, + "idCarte": "AAAAA", + "naissance": "1997-02-14", + "solde": 1337, + "loginPoly": "gbontoux" + } + ] + put: + description: Ajoute un nouvel étudiant + queryParameters: + idCarte: + displayName: ID de la carte NFC + type: string + required: false + naissance: + displayName: Date de naissance + -- libgit2 0.21.2