Query Config of AI Inspection Device

Last Updated on : 2023-06-15 05:54:53

Query the currently effective configuration of a specified AI inspection device.

API address

GET: /v1.0/iot-03/store-inspection/devices/{device_id}/ai-setting

Request parameter

Parameter name Type IN Required Description
device_id String uri true The device ID.

Return parameter

Parameter name Type Description
result InterestsSettingRes The returned result.

Description of result

Parameter name Type Description
device_id String The device ID.
interests List The list of configuration results.

Description of interests

Parameter name Type Description
features List The list of feature configuration results.

Description of features

Parameter name Type Description
type String The type of a specified feature.
values List The result of a specified feature value.

Description of values

Parameter name Type Description
value Integer The configuration value.
desc String The description of configuration.

Request example

GET: GET:/v1.0/iot-03/store-inspection/devices/6c81ea93d7476931f0****/ai-setting

Return example

{ "result": { "device_id": "6c81ea93d7476931f0****", "interests": [ { "features": [ { "values": [ { "value": 2, "desc": "Chef Hat" } ], "type": "hat" } ] } ] }, "t": 1635403206316, "success": true }

Error code

For more information, see error code.