Devices
Get a single resource
Get a single resource
get/devices/{deviceId}/{resourcePath}
Path parameters
deviceIdstring uuid required
Id of the device
resourcePathstring required
Href of the resource
Query parameters
interfacestring
Defines the view or a way how to interact with a resource
skipShadowboolean
Get resource content directly from device without cache
Headers
Correlation-IDstring
Cross request logging correlation id
Response
Device
Example response
{
"rt": [
"x.org.iotivity.device",
"oic.wk.d"
],
"if": [
"oic.if.baseline",
"oic.if.r"
],
"di": "53080a4f-5e3e-4291-802f-3436238232d2",
"n": "Test device"
}