SensusRF gateway user manual
| 29/10/2019
17.2.4.1 Request
REQUEST
TAG DESCRIPRION
Scheme https://<GATEWAY IP>/api/info/voltage
HTTP Method GET
Parameters Authorization with JWT
Example:
GET /api/info/voltage HTTP/1.1
Authorization:
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhcGlfdmVyc2lvbiI6IjEuMCIsInNlc3Npb25faWQiOiIyM0FFMTMw
MTBGNjdGN0Y1IiwidXNlciI6ImFkbWluIiwibG9nZ2VkIjoidHJ1ZSIsIm1hYyI6IjFDOkJBOjhDOkEwOkYzOjMxIiwi
bWFudWZhY3RvciI6IkNBUyBURUNOT0xPR0lBIiwiZXhwaXJhdGlvbl9kYXRlIjo5NDcyOTgwMzl9.a-eaQz6--
ggaX8rZjPWLilQnjWfdnwqgqRMIDncs2tE
Host: 192.168.7.2
17.2.4.2 Response
RESPONSE
TAG DESCRIPTION
api_version The version of the GATEWAY REST API
request_status The status of the request
payload The payload of the requested information
voltage Gateway instantaneous voltage
Example:
HTTP/1.1 200 OK
X-Powered-By: CAS_GATEWAY
Server: CAS_GATEWAY
Content-type: text/html; charset=UTF-8
Content-Length: 71
Date: Sat, 01 Jan 2000 02:46:57 GMT