Motion Activity
GEThttps://demo.frigate.video/api/review/activity/motion
Get motion and audio activity.
Request
Query Parameters
cameras Cameras
Default value:
all
before Before
after After
scale Scale
Default value:
30
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (auto)
Schema
- Array [
- ]
start_timeStart Time (integer)required
motionMotion (number)required
cameraCamera (string)required
[
{
"start_time": 0,
"motion": 0,
"camera": "string"
}
]
Validation Error
- application/json
- Schema
- Example (auto)
Schema
detail object[]
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
- python
- nodejs
- javascript
- curl
- rust
- HTTP.CLIENT
- REQUESTS
import http.client
conn = http.client.HTTPSConnection("demo.frigate.video")
payload = ''
headers = {
'Accept': 'application/json'
}
conn.request("GET", "/api/review/activity/motion", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
ResponseClear