get https://{url}/v1/devices//config
Use the hub_url received in the registration response as your base URL.
This API requires the device to authenticate, see Device Authentication.
Get the latest device configuration from the server.
After getting the configuration, the device should apply it and save its version number locally.
Return Data
Name | Type | Description | Model API Version |
---|---|---|---|
version | integer | Version of the configuration | 1.0.1+ |
last_updated | string | UTC date when the configuration was last updated | 1.0.1+ |
config | json | Other JSON fields making up the configuration | 1.0.1+ |
name | string | Device's name | 1.0.1+ |
device_id | string | Device ID | 1.0.7+ |
This API was upgraded at version 1.0.5, documentation for the previous option is available here: Get Config (pre 1.0.5)