Device SD Card Record List
Get a device SD Card Record list by querying POST to /api/recordlist with
a Ventra API
account using username, deviceid and password which is in
uppercase and SHA-256. When
querying the POST method to /api/recordlist, the system will return an array of all devices
SD Card
Record list. With Content-Type: application/json; charset=utf-8
Parameters
| Name of Parameter | Type | Description |
|---|---|---|
| username | string | Required username |
| password | string | Required SHA-256 of your password
which is uppercase |
| deviceid | string | Required |
Example
Get a device SD Card record list by querying POST to URL /api/recordlist
with username and password
URL https://www.ventracloud.com/api/recordlist
POST /api/recordlist
Content-Type: application/json; charset=utf-8
{
"username":"APIdemo",
"password":"58F0DB19BE70BFD8E53E1CAC8C32514853E97D0A44DA9B68A72046B7730BD5A6",
"deviceid": "VG000032",
}
Response
The response is an array of the given device SD Card record with details.
[
{
"start": 1561019250, "end": 1561019349, "type": 2
},
{
"start": 1561096889, "end": 1561097005, "type": 2
},
{
"start": 1561107581, "end": 1561107758, "type": 2
},
{
"start": 1561108370, "end": 1561108463, "type": 2
},
{
"start": 1561108463, "end": 1561108509, "type": 2
},
...
]
return: an array of records from the SD card of a remote device.start: unix time record start.end: unix time record end.type: type in record.0: normal record1: gsensor2: push button
