Simple Remote Playback
Creates a simple remote playback page without web login, by querying GET to
/remote/:deviceid(@chs)/:duration/:timestamp/:username/:password with a
Ventra API account using deviceid, username, timestamp,
duration and password which is in
uppercase and SHA-256.
Parameters
| Name of Parameter | Type | Description |
|---|---|---|
| username | string | Required username |
| password | string | Required SHA-256 of your password
which is uppercase |
| deviceid(@chs) | string | Required device id |
| duration | number | Required random number of range from
un-sign int |
| timestamp | string | Required timestamp with the time
zone.
Format YYYY-MM-DD THH:hh:ssZZ |
deviceid@chs.chs is a decimal number that bitN = channel N.channel1 = 0b1, channel2 = 0b10, channel = 0b100.
this page only allows one channel playback from a remote device.
Example
Simple remote playback by querying GET to URL /playback/VG000032/2/2019-06-10T12:00:00+0800/ventra/6B418504D86ECB496F3BBECC6172A6EF9CA2407724DA81E0DC751B7E3ACBC463
with username and password
Get /playback/VG000032/2/2019-06-10T12:00:00+0800/ventra/6B418504D86ECB496F3BBECC6172A6EF9CA2407724DA81E0DC751B7E3ACBC463Get /playback/VG000032@8/2/2019-06-10T12:00:00+0800/ventra/6B418504D86ECB496F3BBECC6172A6EF9CA2407724DA81E0DC751B7E3ACBC463
