Device Capabilities
URI Definition
Method | URI and Fields | |||||||
---|---|---|---|---|---|---|---|---|
GET | /iap/devs/firmwareImgList | |||||||
Returns a list of available firmware images for the specified device. Query Parameter
Example
| ||||||||
/iap/devs/lonmode | ||||||||
Returns the LON management mode: DMM (Device Management Mode) or IMM (Independent Management Mode). Example
| ||||||||
PUT | /iap/devs/provision | |||||||
Performs provisioning operations on specified devices. Devices that don’t have this capability are skipped. Request Payload
Example
| ||||||||
/iap/devs/deprovision | ||||||||
Performs deprovisioning operations on specified devices. Devices that don’t have this capability are skipped. Request Payload
Example
| ||||||||
/iap/devs/{id}/demand | ||||||||
Sends an on-demand RTSM request to the specified device. When the RTSM message appears, any monitored datapoints will be published to the CMS. Argument
Example
| ||||||||
/iap/devs/{id}/replace | ||||||||
Replaces one device with another. This operation replaces the physical device connected to the CMS’ representation of the device, with another physical device specified with the UNID parameter. Arguments
Request Payload
Example
| ||||||||
/iap/devs/reset | ||||||||
Resets the specified collection of devices. Request Payload
Example
| ||||||||
/iap/devs/{id}/test | ||||||||
Tests specified device whether it is available at the moment. A null payload is required. Argument
Example
| ||||||||
/iap/devs/{id}/wink | ||||||||
Sends wink command to the specified device. A null payload is required. Arguments
Example
| ||||||||
/iap/devs/load/{id} | ||||||||
Updates the firmware or file of the specified device. This method currently has the following limitations: only manifest files with an external link to image can be processed. Arguments
Content Typemultipart/form-data. Request PayloadZip file containing the valid manifest file. Example
| ||||||||
/iap/devs/loadWith/{fileId}/{devId} | ||||||||
Performs load action for the specified device with the specified file. Arguments
Example
| ||||||||
/iap/devs/loadAllWith/{fileId} | ||||||||
Performs load action for all devices with the specified file. Arguments
Example
| ||||||||
/iap/devs/bulkFirmwareUpdate/{deviceModel} | ||||||||
Updates firmware on all devices that meet the model criteria. Arguments
Content Typemultipart/form-data. Required PayloadA file containing the firmware update image. Example
| ||||||||
/iap/devs/lonmode/{mode} | ||||||||
Sends a switch Management Mode request to every LON device with SYSTEM_MANAGEMENT_DEVICE_PROGRAM_ID available for the current user. Updates the LON mode for corresponding root geozones. Arguments
Example
| ||||||||
/iap/devs/discover | ||||||||
Sends request to discover devices for all available edge servers. Example
| ||||||||
/iap/devs/{scId}/rebuild | ||||||||
Rebuilds the segment controller with the specified ID. Arguments
Example
|
Query Parameters
Optional query parameters can be used with your REST request. Specifying queries is described under Queries and Parameters, Path Parameters, and Query Parameters.