Skip to content
This repository was 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
{
    "ReportedProperties": [
        "Properties.Reported.Type",
        "Properties.Reported.Firmware",
        "Properties.Reported.Model",
        "Properties.Reported.Location",
        "Properties.Reported.Latitude",
        "Properties.Reported.Longitude",
        "Properties.Reported.FirmwareUpdateStatus"
    ],
    "$metadata": {
        "$type": "DeviceProperties;1",
        "$uri": "/v1/deviceProperties"
    }
}

Clone this wiki locally