Group Location
Explore Plans
Mobile menu Close menu
Oco CameraOco Camera

History of motion detections

This query returns a list of when a specified camera detected motion.

About this query

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
This query returns a list of when a specified camera detected motion.
API endpoint slug
oco_camera.history_of_motion_detections
Runtime method
performQuery("oco_camera.history_of_motion_detections")

Query fields

Camera Dropdown list

Label
Which camera?
Slug
camera
Required
true
Can have default value
false

Ingredients

Occurred atDate and time event was occurred.

Slug
occurred_at
Filter code
OcoCamera.historyOfMotionDetections.OccurredAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

Camera nameThe name of the camera that detected motion.

Slug
camera_name
Filter code
OcoCamera.historyOfMotionDetections.CameraName
Type
String
Example
Living room Camera

Image URLThe URL to a snapshot of the event.

Slug
image_url
Filter code
OcoCamera.historyOfMotionDetections.ImageURL
Type
Image URL
Example
https://api.ivideon.com/events/snapshots/47987123948fsdffa.jpeg

Clip URLThe URL to a video clip of the event.

Slug
clip_url
Filter code
OcoCamera.historyOfMotionDetections.ClipURL
Type
Web URL
Example
https://api.ivideon.com/events/clips/13821923810931ffda.mp4