Skip to content

Provision

Device provisioning and management APIs.

These APIs provide devices with the necessary provisioning APIs to manage communications with a device cloud.

GetCerts

Provision a device with MQTT certificates.

After a device has been claimed for management by a user into a device cloud, the device can call "getCerts" to request provisioning of MQTT certificates to secure communications.

This call returns the certificate, private key and communications endpoint to use for secure MQTT communications with the device cloud.

Endpoint

HTTP
POST /provision/getCerts

Authorized User Role

device

Request Body

FieldTypeRequiredNotes
idstringyesDevice claim ID.

Response

MQTT certificate and endpoints for device communications.

FieldTypeNotes
accountIdstringApp Account ID.
certificatestringX.509 certificate.
endpointstringMQTT host endpoint for communciations.
idstringDevice ID.
keystringX.509 certificate key.
portnumberMQTT TCP/IP port number.
thingstringAWS IoT Core thing name for the device.

Update

Device update.

Check for software updates.

Returns a message if no update is available. Otherwise, returns a download URL, version, update ID and checksum.

Endpoint

HTTP
POST /provision/update

Authorized User Role

upgrade

Request Body

FieldTypeRequiredNotes
idstringyesDevice ID.
productstringyesProduct name.
versionstringyesVersion to update to.
testbooleanDevice is a test device.
*anyAny other fields.

Response

Object Record.

FieldTypeNotes
checksumstringDownload checksum.
versionstringVersion to update to.
messagestringMessage.
urlstringDownload URL for the software update.
updatestringSelected update ID.

UpdateReport

Device update report.

Post update status.

Endpoint

HTTP
POST /provision/updateReport

Authorized User Role

upgrade

Request Body

FieldTypeRequiredNotes
idstringyesDevice ID.
updatestringyesUpdate status.
successbooleanyesUpdate success.