Skip to content

Operations

APIs to get information about operations

Get all Operations in the Tenant

Request

Security
apiKey
Query
limitinteger
offsetinteger
stateinteger

Following are the Operation States and their corresponding integer values

OPERATION_CREATED      = 10
OPERATION_RESOLVING    = 20
OPERATION_RESOLVED     = 30
OPERATION_DISPATCHING  = 40
OPERATION_DISPATCHED   = 50
OPERATION_PROCESSING   = 60
OPERATION_COMPLETED    = 70
OPERATION_SUCCESS      = 80
OPERATION_FAILURE      = 90
OPERATION_SCHEDULED    = 100
OPERATION_CANCELLED    = 110
OPERATION_TIMEOUT      = 120
orderingstring

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

Enum:"created_at""state""updated_at"
operation_typestring

Filter operations by type (e.g., INSTALL, UNINSTALL, CONVERGE, INSTALL_APP, UNINSTALL_APP, REBOOT)

group_multistring, (uuid)

Filter by multiple group ID. Fetch the devices from groups matching with the IDs and its subgroup.

cURL
curl -i -X GET \
  'https://develop-api.esper.io/_mock/openapi/v0/operations/?limit=0&offset=0&state=0&ordering=created_at&operation_type=string&group_multi=497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Operations information for the Tenant

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