Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

[API Specifications] Device Properties

Isaac edited this page Apr 3, 2018 · 4 revisions

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"
    }
}