Updated on 2022-08-19 GMT+08:00

Device Management Permissions

Table 1 Device management

Permission

Method

Action

Minimum Dependent Action

Deregister a device.

PUT

hilens:device:deleteDevice

-

Upgrade device firmware.

PUT

hilens:device:upgradeDeviceFirmware

-

Register a device.

POST

hilens:device:registerDevice

-

Update the device information.

PUT

hilens:device:updateDevice

-

Update the device configuration information.

PUT

hilens:device:updateDeviceConfig

-

Obtain the device configuration information.

GET

hilens:device:getDeviceConfig

-

Obtain the list of devices.

GET

hilens:device:getDeviceList

-

Obtain the list of skills installed on a device.

GET

hilens:device:getDeviceSkillList

-

Uninstall a specified skill on a specified device.

DELETE

hilens:skill:uninstallSkill

-

Update the configuration information of a specified skill on a specified device.

PUT

hilens:skill:updateSkillConfig

-

Start a specified skill on a specified device.

POST

hilens:skill:startSkill

-

Stop a specified skill on a specified device.

POST

hilens:skill:stopSkill

-

Obtain the configuration information of a specified skill on a specified device.

GET

hilens:skill:getConfig

-