Mettre à jour 'README.md'

This commit is contained in:
Th3maz1ng 2019-04-06 14:37:53 +02:00
parent a1fb1a3ae8
commit acb8c0be01

View File

@ -130,11 +130,36 @@ Here is a list of the available api calls for the board :
* Response format : JSON * Response format : JSON
* OK : { "status" : "ok", "ViewUID" : "UID" } * OK : { "status" : "ok", "ViewUID" : "UID" }
* FAIL : { "status" : "failed", "message" : "REASON" } * FAIL : { "status" : "failed", "message" : "REASON" }
/sab/rtc/get/datetime * /sab/rtc/get/datetime
/sab/sdcard/eject * HTTP request method : GET
/sab/sdcard/insert * Description : Get RTC's time
/esp/restart * Response format : JSON
/esp/reset * OK : { "status" : "ok", "date" : "xx/xx/xxxx", "time" "xx:xx:xx" }
* /sab/rtc/set/datetime?datetime=day_month_year_hours_minutes_seconds
* HTTP request method : GET
* Description : Set RTC's clock
* Response format : JSON
* OK : { "status" : "ok", "date" : "xx/xx/xxxx", "time" "xx:xx:xx" }
* FAIL : { "status" : "failed", "message" : "REASON" }
* /sab/sdcard/unmount
* HTTP request method : GET
* Description : Unmount the SD Card in order to remove it
* Response format : JSON
* OK : { "status" : "ok", "card" : "unmounted" }
* /sab/sdcard/mount
* HTTP request method : GET
* Description : Mount the SD Card
* Response format : JSON
* OK : { "status" : "ok", "card" : "mounted" }
* FAIL : { "status" : "failed", "message" : "REASON" }
* /esp/restart
* HTTP request method : GET
* Description : Restart the UC, this one is recommended compared to the reset call
* Response format : NOTHING
* /esp/reset
* HTTP request method : GET
* Description : Reset the UC
* Response format : NOTHING
### Things to do : ### Things to do :