New services
Explore Plans
Mobile menu Close menu
SpotCamSpotCam

History of motion events detected

This query returns a list of when a Motion event was detected

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 Motion event was detected
API endpoint slug
spotcam.history_of_motion_events_detected
Runtime method
performQuery("spotcam.history_of_motion_events_detected")

Query fields

Sn Dropdown list

Label
SpotCam serial number
Slug
sn
Required
true
Can have default value
false

Ingredients

Event timeDate and time event was created.

Slug
event_time
Filter code
Spotcam.historyOfMotionEventsDetected.EventTime
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

Image URLThe url of the event thumbnail.

Slug
imgurl
Filter code
Spotcam.historyOfMotionEventsDetected.ImageUrl
Type
Image URL
Example
https://spotcam-image.s3-ap-southeast-1.amazonaws.com/jpg/SWA00058rhwx/20160815/1471244520.jpg?AWSAccessKeyId=AKIAIKW3CJGP7LZCADFA&Expires=1471251745&Signature=Q8%2F5NZGm%2B0my%2FwVEj652fDfoJWI%3D

Camera nameThe name of the SpotCam.

Slug
camera_name
Filter code
Spotcam.historyOfMotionEventsDetected.CameraName
Type
String
Example
Airport

Image page URLThe web page URL of the event thumbnail.

Slug
polaroid_url
Filter code
Spotcam.historyOfMotionEventsDetected.ImagePageUrl
Type
Web URL
Example
https://www.myspotcam.com/welcome/polaroid?imgbase=http%3A%2F%2Fwww.myspotcam.com%2Fimages%2Findexlogo.jpg