Skip to content

Get all DeviceOperations for a specific Operation

Request

Security
apiKey
Path
operationsIdstring, (uuid)required

ID of the Operation

Example:5743470f-7dcc-4a92-8a4b-f41b1cea69ed
Query
limitinteger
offsetinteger
stateinteger

Following are the Device Operation States and their corresponding integer values

DEVICE_OPERATION_CREATED     = 10
DEVICE_OPERATION_INITIATED   = 20
DEVICE_OPERATION_DISPATCHED  = 30
DEVICE_OPERATION_PROCESSING  = 40
DEVICE_OPERATION_SUCCESS     = 50
DEVICE_OPERATION_FAILURE     = 60
DEVICE_OPERATION_CANCELLED   = 70
DEVICE_OPERATION_TIMEOUT     = 80
DEVICE_OPERATION_COMPLETED   = 90
orderingstring

Field to order the results by. Prefix with '-' to reverse the order.

Enum:"created_at""state""updated_at"
cURL
curl -i -X GET \
  'https://develop-api.esper.io/_mock/openapi/v0/operations/5743470f-7dcc-4a92-8a4b-f41b1cea69ed/devices/?limit=0&offset=0&state=0&ordering=created_at' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Device Operation information for the Operation

Bodyapplication/json
contentobject
Response
{ "content": { "count": 0, "previous": "string", "next": "string", "results": [] } }