Device history

GET https://api.pegasusgateway.com/devices/:imei/history

Sucessful Response

FieldTypeDescription
prev_configStringPrevious configuration key
set_configStringConfiguration set
timeNumberEpoch timestamp of when configuration was queued up
deviceNumberDevice id
user_nameStringUser who changed configuration (!!device means the configuration was synchronized)
idNumberConfiguration history id

RESPONSES

status: OK

[{"prev_config":"0000","set_config":"i230","time":1562851137,"device":814401083083440,"user_name":"root","id":10981},{"prev_config":"0000","set_config":"i230","time":1562851160,"device":814401083083440,"user_name":"!!device","id":10982}]