Skip to main content

End Event

PUT 

https://demo.frigate.video/api/events/:event_id/end

End Event

Request​

Path Parameters

    event_id Event Idrequired

Bodyrequired

    end_time object
    anyOf
    number

Responses​

Successful Response

Schema
    successSuccess (boolean)required
    messageMessage (string)required
import http.client
import json

conn = http.client.HTTPSConnection("demo.frigate.video")
payload = json.dumps({
"end_time": 0
})
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
conn.request("PUT", "/api/events/:event_id/end", 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
Body required
{
  "end_time": 0
}
ResponseClear

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