Get classification dataset
GEThttps://demo.frigate.video/api/classification/:name/dataset
Gets the dataset for a specific classification model. The name must exist in the classification models. Returns a success message or an error if the name is invalid.
Request​
Path Parameters
name Namerequired
Responses​
- 200
- 422
Successful Response
- application/json
- Schema
Schema
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/classification/:name/dataset", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
ResponseClear