GET /

http://www.mobikey.eu/age/{K}/{DEVICE}/pwd/{PASSWORD}

{DEVICE}

{PASSWORD}

{K}

code identifying the remote device

password assigned to remote device

T for plain text response (TIME ELAPSED SINCE LAST CHANGE)

J for JSON response

callback for JSONP


EXAMPLE TEXT :


http://www.mobikey.eu/age/T/gxl0/pwd/0000  


HTTP STATUS CODE RESPONSE :


200

OK : request succeeded, the answer is sent in the response data


RESPONSE DATA :


16 hours 19 minutes



EXAMPLE JSON :


http://www.mobikey.eu/age/J/gxl0/pwd/0000  


HTTP STATUS CODE RESPONSE :


200

OK : request succeeded, the answer is sent in the response data


RESPONSE DATA :


{

       "NAME": "GW-104",

       "TYPE": "GW-104 2500.xx.xx",

       "update time": "18/06/05 13:02:58",

       "update age": "10 seconds",

       "command time": "18/05/31 15:56:00",

       "command age": "4 days 21 hours",

       "users time": "18/06/01 06:55:47",

       "users age": "4 days 6 hours",

       "map time": "18/06/05 13:02:58",

       "map age": "10 seconds",

       "rules time": "18/06/05 09:24:33",

       "rules age": "3 hours 38 minutes",

       "log time": "",

       "log age": "",

       "swap time": "",

       "swap age": ""

}



EXAMPLE JSONP :


http://www.mobikey.eu/age/data/gxl0/pwd/0000  


HTTP STATUS CODE RESPONSE :


200

OK : request succeeded, the answer is sent in the response data



RESPONSE DATA :


data({

       "NAME": "Avio",

       "TYPE": "GW-104 2500.xx.xx",

       "update time": "18/06/05 13:04:58",

       "update age": "1 minute 10 seconds",

       "command time": "18/05/31 15:56:00",

       "command age": "4 days 21 hours",

       "users time": "18/06/01 06:55:47",

       "users age": "4 days 6 hours",

       "map time": "18/06/05 13:04:58",

       "map age": "1 minute 10 seconds",

       "rules time": "18/06/05 09:24:33",

       "rules age": "3 hours 41 minutes",

       "log time": "",

       "log age": "",

       "swap time": "",

       "swap age": ""

});


- JSON/JSONP is returned without line breaks, to keep the data traffic as small as possible

- The information returned refer to the last update made by remote device to MAP