0 [API Specifications] Device Properties
Isaac редактировал(а) эту страницу 2018-04-03 11:51:07 -07:00

Get list of device properties

The list of device properties is called by the Web-UI to populate a dropdown in device filter fly-out. The data from this API is merged with the reported properties from IOThubManager and only unique values are shown in the UI.

Request:

GET /v1/deviceProperties

Response:

200 OK
Content-Type: application/JSON
{
    "Reported": [
        "Type",
        "Firmware",
        "Model",
        "Location",
        "Latitude",
        "Longitude",
        "FirmwareUpdateStatus"
    ],
    "$metadata": {
        "$type": "DeviceProperties;1",
        "$uri": "/v1/deviceProperties"
    }
}