Skip to content

Get a specific DeviceOperations for a specific Operation (Device Operation Status)

Request

Security
apiKey
Path
operationsIdstring, (uuid)required

ID of the Operation

Example:5743470f-7dcc-4a92-8a4b-f41b1cea69ed
deviceIdstring, (uuid)required

ID of the Device

Example:17d384d3-29bd-4dd4-af64-d02b9d6d54ee
cURL
curl -i -X GET \
  https://develop-api.esper.io/_mock/openapi/v0/operations/5743470f-7dcc-4a92-8a4b-f41b1cea69ed/devices/17d384d3-29bd-4dd4-af64-d02b9d6d54ee/ \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Device Operation information for the Operation

Bodyapplication/json
contentobject(DeviceOperationWithStats)
Response
{ "content": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "operation_id": "cb4ede3c-a5d1-45e3-a9d2-fe83accbce52", "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940", "state": "CREATED", "reason": "", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "device_operation_activity": [] } }