SensusRF gateway user manual
| 29/10/2019
"request_status":"OK",
"jwt":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhcGlfdmVyc2lvbiI6IjEuMCIsInNlc3Npb25faWQiOiI
wRkMzMTMwMTBGNjdDNkFFIiwidXNlciI6ImFkbWluIiwibG9nZ2VkIjoidHJ1ZSIsIm1hYyI6IjFDOkJBOjh
DOkEwOkYzOjMxIiwibWFudWZhY3RvciI6IkNBUyBURUNOT0xPR0lBIiwiZXhwaXJhdGlvbl9kYXRlIjoxN
TY2NDE0NDgxfQ.0O0ThrpC5t8ys1To79r2tF1cGoHx5OnyJgu6_JRHmO4"
}
17.2.2 Read sensors status
The “read sensors status” method returns a JSON embodying the GATEWAY Date and time, voltage,
door sensor status and temperature information. The method must contain the JWS in its HTTP header as
“Authorization”.
17.2.2.1 Request
REQUEST
TAG DESCRIPTION
Scheme https://<GATEWAY IP>/api/info
HTTP Method GET
Parameters Authorization with JWT
Example:
GET /api/info HTTP/1.1
Authorization:
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhcGlfdmVyc2lvbiI6IjEuMCIsInNlc3Npb25faWQiOiJDNzY2MTMw
MTBGNjc4NjA5IiwidXNlciI6ImFkbWluIiwibG9nZ2VkIjoidHJ1ZSIsIm1hYyI6IjFDOkJBOjhDOkEyOkEzOjAyIiwibW
FudWZhY3RvciI6IkNBUyBURUNOT0xPR0lBIiwiZXhwaXJhdGlvbl9kYXRlIjoxNTY2NDk1NTIyfQ.3zcy7tIxe7otsjzU
sLNy5ePAtE_oh26U5WIIqAnU4Hw
Host: 192.168.7.2