Send Config of AI Inspection Device

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

Send the image feature configuration of a specified AI inspection device.

API address

POST: /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.

Description of body

Parameter name Type IN Required Description
interests List false The list of configurations of interest.

Description of interests

Parameter name Type IN Required Description
features List false The list of feature configurations.

Description of features

Parameter name Type IN Required Description
type String true The type of a specified feature.
values List true The list of specified feature values.

Return parameter

Parameter name Type Description
result Boolean The returned result.

Request example

POST: POST:/v1.0/iot-03/store-inspection/devices/6c81ea93d7476931f0****/ai-setting
{ "interests": [ { "features": [ { "type": "hat", "values": [ 2 ] } ] } ] }

Return example

{ "result": true, "t": 1635403436026, "success": true }

Error code

For more information, see error code.