Device Configuration Microservice for IoT Platform. This service is responsible for the following features: *Create devices *Read devices *Update devices *Delete devices
Below is the structure of the JSON document that holds device data
{
"name": "Device Name",
"serial": "Device Serial",
"configurations": [{
"configuration_id": "Configuration ID",
"configuration_type": "Type"
},
{
"configuration_id": "Configuration ID",
"configuration_type": "Type"
},
{
"configuration_id": "Configuration ID",
"configuration_type": "Type"
}
]
}
{
"_id": "objectID",
"serial": "device_serial",
"uuid": "UUID",
"device_definition_id": "device_definition_id",
"name": "device_name",
"firmware_version": "firmware_version",
"last_firmware_update": "last_firmware_update_datetime",
"created_at": "created_datetime",
"updated_at": "updated_datetime"
}