POST
/
devices
/
{device_id}
/
observe
Report observed state
curl --request POST \
  --url https://coreapi-dev.us.bcpapers.ca/devices/{device_id}/observe \
  --header 'Content-Type: application/json' \
  --data '
{
  "items": [
    {
      "action_id": "<string>",
      "item_key": "<string>",
      "observed": [
        123
      ],
      "result": [
        123
      ],
      "result_ref": "<string>",
      "status": "<string>"
    }
  ]
}
'
This response has no body data.

Path Parameters

device_id
string
required

Device UUID

Body

application/json

Observed items

items
object[]

Response