Skip to main content

Get custom classification attributes

GET 

https://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: false

Responses​

Successful Response

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"))
Request Collapse all
Base URL
https://demo.frigate.video/api
Parameters
— query
— query
ResponseClear

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