Skip to main content

Export Recording

POST 

https://demo.frigate.video/api/export/:camera_name/start/:start_time/end/:end_time

Export Recording

Request

Path Parameters

    camera_name Camera Namerequired
    start_time Start Timerequired
    end_time End Timerequired

Bodyrequired

    playbackPlayback factor (string)

    Possible values: [realtime, timelapse_25x]

    Default value: realtime
    sourcePlayback source (string)

    Possible values: [recordings, preview]

    Default value: recordings
    nameFriendly name (string)

    Possible values: <= 256 characters

    image_pathImage Path (string)

Responses

Successful Response

Schema
import http.client
import json

conn = http.client.HTTPSConnection("demo.frigate.video")
payload = json.dumps({
"playback": "realtime",
"source": "recordings",
"name": "string",
"image_path": "string"
})
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
conn.request("POST", "/api/export/:camera_name/start/:start_time/end/:end_time", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
Request Collapse all
Base URL
https://demo.frigate.video/api
Parameters
— pathrequired
— pathrequired
— pathrequired
Body required
{
  "playback": "realtime",
  "source": "recordings",
  "name": "string",
  "image_path": "string"
}
ResponseClear

Click the Send API Request button above and see the response here!