Jetlun REST Web Service Interface

REST API: Data Access

Get devices list

Description: Get all devices list behind the gateway

Method: GET

Arguments: myjetlun_id, mac, api_key, timestamp, sign, format

Format: JSON, XML

URL: "http://api.myjetlun.com/v1/services/devices?mac=[mac]&api_key=[apikey]&myjetlun_id=[myjetlun-id]&timestamp=[time]&sign=[signature]"

Example Response:

{
"devices_list":[
{
"sn":"c8d2c100000023f70000000000000000",
"type":"Panel Meter",
"mac":"C8D2C1000634",
"title":"PM-23F7",
"status":"online"
},
{
"sn":"000100002f0001000000000000004ed1",
"type":"Circuit Meter",
"mac":"C8D2C10000F7",
"title":"CM-4ed1",
"status":"offline"
},
...]
}