Arguments
user_id
token
did — thing ID
limit — The number of records, unless the issue all
order — sort direction, ASC or DESC
Response
history — an array with a history of values
date — date & time
value — value
status — Status of the response. Error or success.
message — Optional field. Transmitted only if status «Error» and contains a description of the «error».
Example: http://168.63.82.20/api/getvaluehistory?user_id=161&token=ebbf23afc227a20a2979818653fff75b&did=nqemov6a6xeh&limit=2&order=ASC
Response (JSON):
{
"history": [{
"date":"2015-11-27 13:13:09",
"value":"1"
}],
"status":"success"
}