Get custom classification attributes
GEThttps://demo.frigate.video/api/classification/attributes
Returns custom classification attributes for a given object type. Only includes models with classification_type set to 'attribute'. By default returns a flat sorted list of all attribute labels. If group_by_model is true, returns attributes grouped by model name.
Request​
Query Parameters
object_type string
group_by_model boolean
Default value:
falseResponses​
- 200
- 422
Successful Response
Validation Error
- python
- nodejs
- javascript
- curl
- rust
- HTTP.CLIENT
- REQUESTS
import http.client
conn = http.client.HTTPSConnection("demo.frigate.video")
payload = ''
headers = {}
conn.request("GET", "/api/classification/attributes", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
ResponseClear