Adds a new Operation to an existing Operation List in Esper's Pipelines system.
Send the operation_type (e.g. LOCK, REBOOT, WIPE, INSTALL, SIMPLE_INSTALL, UNINSTALL, SET_KIOSK_APP, SET_WALLPAPER) and its args in the request body; the created Operation is returned and becomes one of the actions performed when the parent Stage runs.
This is the Pipelines Operations endpoint. Use the Operations API for command operations (dispatch commands).
About Operation Lists
An Operation List holds one or more Operations — the individual device actions a Pipeline Stage performs against its targeted devices. Grouping Operations into a list lets a single stage execute multiple actions in sequence when its Stage Run processes. This is an authenticated SCAPI endpoint.
Key Fields / Query Parameters
- operation_type — the action to perform (e.g. LOCK, REBOOT, WIPE, INSTALL, SET_KIOSK_APP, etc.)
- args — object containing the arguments for the selected operation_type
Common Use Cases
- Adding a device action to a stage's operation list while building out a pipeline
- Mock serverhttps://api.esper.io/_mock/openapi/pipelines/v0/operationlists/{operationlist_id}/operations/
- https://develop-api.esper.cloud/apihttps://develop-api.esper.cloud/api/pipelines/v0/operationlists/{operationlist_id}/operations/
curl -i -X POST \
'https://api.esper.io/_mock/openapi/pipelines/v0/operationlists/{operationlist_id}/operations/' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"args": {},
"operation_type": "LOCK"
}'{ "code": 0, "message": "string", "content": { "id": "string", "operation_list_id": "string", "pipeline_id": "string", "operation_type": "string", "args": "string", "created_by": 0, "updated_by": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } }