Device Provisioning Service API Overview¶
The device provisioning service APIs provide management operations for devices in Device Provisioning Service. For more information on Device Provisioning Service, see Device Provisioning Service.
Prerequisites¶
Ensure that you have read the limitations for Device Provisioning Service. See Limitations.
API List¶
Device Provisioning Service APIs are divided into two categories according to the invokers:
Application APIs: the APIs provided by EnOS for developers to access system resources and develop various applications. Before invoking Application APIs, you need to get gateway address, authorize the service account, and prepare development environment.
Device APIs: the APIs provided by Device Provisioning Service only and invoked by devices. With Device APIs, devices can directly register themselves and get their authentication information. Device APIs utilize a special gateway address and do not need the environment preparation. For more information, see About Device APIs.
Application API List¶
Refer to the table below for the list of Application APIs, and whether they can be used by EnOS Cloud and EnOS Edge.
Version 2.5 has been added for some Application APIs in EnOS 2.4 CU2. For details, see EnOS 2.4 CU2.
Operation Name |
Description |
URL |
EnOS Cloud |
EnOS Edge |
---|---|---|---|---|
Create DPS devices |
|
√ |
× |
|
Get the information of a DPS device |
|
√ |
× |
|
Allocate and activate a DPS device |
|
√ |
× |
|
Reset the allocation status of devices |
|
√ |
× |
|
Search for DPS devices based on the search criteria |
/dps-service/v2.5/pvs/device?action=search |
√ |
× |
|
Delete DPS devices |
/dps-service/v2.5/pvs/device?action=delete |
√ |
× |
|
Update a DPS device |
/dps-service/v2.5/pvs/device?action=update |
√ |
× |
|
Replace a DPS device |
/dps-service/v2.5/pvs/device?action=replace |
√ |
× |
Device API List¶
Refer to the table below for the list of Device APIs, and whether they can be used by EnOS Cloud and EnOS Edge.
Operation Name |
Description |
URL |
EnOS Cloud |
EnOS Edge |
---|---|---|---|---|
Devices to get their triple information and protocol address |
/preview/get/conn |
√ |
× |
|
Direct-connected devices to get their triple information and protocol address, and register themselves |
/preview/bootstrap |
√ |
× |