Skip to content

get status list for command request
Legacy

Request

API to get and filter command request status

Security
apiKey
Path
enterprise_idstring, (uuid)required

ID of the enterprise

request_idstring, (uuid)required

ID for the command request

Query
devicestring

Filter status result by device id.

statestring

Filter by command state

cURL
curl -i -X GET \
  'https://develop-api.esper.io/_mock/openapi/v0/enterprise/{enterprise_id}/command/{request_id}/status/?device=string&state=string' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

on successful request

Bodyapplication/json
countinteger, (int64)
nextstring, (url)
previousstring, (url)
resultsArray of objects(V0CommandStatus1)
Response
{ "count": 0, "next": "string", "previous": "string", "results": [ {} ] }