start_ts
and end_ts
. Requested event will upload a video of the requested duration along with a snapshot which is taken from the "center" of the request.event_id
in the response.User Role | Allowed |
---|---|
Partner | |
Partner View | |
Custom Partner | Requires permissions to be enabled |
Fleet Manager | |
Group Manager | |
User | |
Custom User | Requires permissions to be enabled |
curl --location --request PUT 'https://fleet.roscolive.com/api/v1.0/events/custom_clips' \
--form 'device_id="1234567890"' \
--form 'start_ts="20240112132100"' \
--form 'end_ts="20240112132130"' \
--form 'custom_event_type=""' \
--form 'data="{ \"foo\": \"bar\" }"' \
--form 'event_display_type="My New Event"'
{
"meta": {
"code": 200
},
"response": {
"request_id": 1908766,
"warning": "request exists"
},
"result": "OK"
}
Start date/time for the desired time period.
For duration
d = end_ts
- start_ts
snapshot_only=false
: 5 seconds <= d <= 1 hour
snapshot_only=true
: 5 minutes <= d <= 1 hour