Skip to main content

List device command results

GET 

/api/v1/devices/{deviceId}/commands/results

Paged command history (newest first). Each item is the WEDA command-result envelope. data.status is the result flag (0 = success/received, 1 = failed, with data.error). data.phase is the device-interaction stage, one of pending (dispatched, awaiting ack), ack (received+validated at device), progress (in-progress report for long-running commands), result (done, reported); reboot/shutdown go pending->result, others pending->ack->(progress)->result. Poll here after issuing a command, matching the reqSeqId returned by the issue call against the items.

Request​

Responses​

This device's command history as a paged list, with items (the command-result envelopes for the current page, newest first by creation time) and totalCount (the total matching the filter across all pages).