IoT Device Resource REST Endpoints

IoT Device Resource
This resource provides set of operations and methods to manage devices, application for devices, metadata for devices and software resources for devices.
Create a Metadata for a Key of a Device Specified by its ID
Method: post
Path: /iot/api/v2/devices/{entity-id}/metadata/{key}
Create a New Device
Method: post
Path: /iot/api/v2/devices
Delete a Metadata Key for the Device with Specified ID
Method: delete
Path: /iot/api/v2/devices/{entity-id}/metadata/{key}
Delete Device Location
Method: delete
Path: /iot/api/v2/devices/{device-id}/location
Delete the Device by ID
Method: delete
Path: /iot/api/v2/devices/{device-id}
Retrieve a Metadata Key for the Device with Specified ID
Method: get
Path: /iot/api/v2/devices/{entity-id}/metadata/{key}
Retrieve Count of Common Device Metadata Keys
Method: get
Path: /iot/api/v2/devices/metadataTypes/count
Retrieve Count of Devices
Method: get
Path: /iot/api/v2/devices/count
Retrieve Device Activation Logs
Method: get
Path: /iot/api/v2/devices/{device-id}/logs/activation
Retrieve Device Details
Method: get
Path: /iot/api/v2/devices/{device-id}
Retrieve Information About Multiple Endpoints
Method: get
Path: /iot/api/v2/devices
Retrieve Information about the Device Location
Method: get
Path: /iot/api/v2/devices/{device-id}/location
Retrieve List of Common Device Metadata Keys
Method: get
Path: /iot/api/v2/devices/metadataTypes
Retrieve List of Devices Which Belong to
Method: get
Path: /iot/api/v2/devices/{device-id}/devices
Retrieve Metadata for Device with Specified ID
Method: get
Path: /iot/api/v2/devices/{entity-id}/metadata
Update a Device by ID
Method: post
Path: /iot/api/v2/devices/{device-id}
Update a Device Location with a New One
Method: put
Path: /iot/api/v2/devices/{device-id}/location
Update Device Information by ID
Method: put
Path: /iot/api/v2/devices/{device-id}
Update Device Location with New Values
Method: post
Path: /iot/api/v2/devices/{device-id}/location
Update or Delete Metadata for a Device by ID
Method: post
Path: /iot/api/v2/devices/{entity-id}/metadata