Send To Plus
POSThttps://demo.frigate.video/api/events/:event_id/plus
Send To Plus
Request
Path Parameters
event_id Event Idrequired
- application/json
Body
include_annotationInclude Annotation (integer)
Default value:
1
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (auto)
Schema
successSuccess (boolean)required
plus_idPlus Id (string)required
{
"success": true,
"plus_id": "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
import json
conn = http.client.HTTPSConnection("demo.frigate.video")
payload = json.dumps({
"include_annotation": 1
})
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
conn.request("POST", "/api/events/:event_id/plus", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
ResponseClear