Get all resource's pending commands for a device
Retrieve all resource's pending commands for a single device. Alternative is to call 'Get all pending commands' with deviceIdFilter and commandFilter query parameters.
Query parameters
Filter by the type.
Filter by the command type.
Response
Stream of resource links or errors.
Example response
{
"result": {
"resources": [
{
"href": "/switches/1",
"deviceId": "4629b3cb-3a6e-477c-5d50-ccb28ad7c349",
"resourceTypes": [
"oic.r.switch.binary"
],
"interfaces": [
"oic.if.a",
"oic.if.baseline"
],
"anchor": "",
"title": "",
"supportedContentTypes": [],
"validUntil": "0",
"policy": {
"bitFlags": 3
},
"endpointInformations": []
}
],
"deviceId": "4629b3cb-3a6e-477c-5d50-ccb28ad7c349",
"auditContext": {
"userId": "9772fcff-dcfb-4db8-a6c9-1b75f2165eb1",
"correlationId": "ef007f88-6073-4af1-8951-971578bf6803"
},
"eventMetadata": {
"connectionId": "194.1.25.111:61692",
"sequence": "4",
"version": "0",
"timestamp": "1625432924483895839"
}
}
}Changes
Changed in 4 of the 42 revisions of this API.118
- ○
added the optional property
error/details/items/typeUrlto the response with the200statusresponse-optional-property-added
- ○
added the optional property
error/details/items/typeUrlto the response with the400statusresponse-optional-property-added
- ○
added the optional property
error/details/items/typeUrlto the response with the401statusresponse-optional-property-added
- ○
added the optional property
error/details/items/valueto the response with the200statusresponse-optional-property-added
- ○
added the optional property
error/details/items/valueto the response with the400statusresponse-optional-property-added
- ○
added the optional property
error/details/items/valueto the response with the401statusresponse-optional-property-added
- ○
- ●
removed the optional property
result/resources/items/policiesfrom the response with the200statusresponse-optional-property-removed
- ○
added the optional property
result/resources/items/policyto the response with the200statusresponse-optional-property-added
- ●
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 55 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
Of the 42 revisions, 3 have no diff computed.