From a1fb1a3ae858ecbeaa940a8f9151e8cdd2e108f6 Mon Sep 17 00:00:00 2001 From: Th3maz1ng Date: Fri, 5 Apr 2019 16:42:07 +0200 Subject: [PATCH] =?UTF-8?q?Mettre=20=C3=A0=20jour=20'README.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d4f1478..758a51e 100644 --- a/README.md +++ b/README.md @@ -123,13 +123,13 @@ Here is a list of the available api calls for the board : * Description : Display the next view on the screen * Response format : JSON * OK : { "status" : "ok", "ViewUID" : "UID" } - * FAIL : NOTHING -* /sab/view?id=x + * FAIL : { "status" : "failed", "message" : "REASON" } +* /sab/view?UID=x * HTTP request method : GET * Description : Display the view with the corresponding id * Response format : JSON * OK : { "status" : "ok", "ViewUID" : "UID" } - * FAIL : NOTHING + * FAIL : { "status" : "failed", "message" : "REASON" } /sab/rtc/get/datetime /sab/sdcard/eject /sab/sdcard/insert