Command API Documents For V2 - WNJXYK/JLU_DSD GitHub Wiki
1. Setting Building Status (Normal / Emergency)
URL : http://SERVER_ADDR/command/status
Request Parameters :
Name | Type | Explanation |
---|---|---|
uid | Integer | User ID |
token | String | User Token |
id | Integer | Building ID |
status | Integer | Target Status (0: Normal, Otherwise: Emergency) |
Request Permission : admin
2. Control Light State
URL : http://SERVER_ADDR/command/command
Request Parameters :
Name | Type | Explanation |
---|---|---|
uid | Integer | User ID |
token | String | User Token |
command | String | Json String |
Request Permission : force
or NULL