pipelines_Operations

Create an Operation for Operation List

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
post/pipelines/v0/operationlists/{operationlist_id}/operations/

Request

  • Base URL
    https://develop-api.esper.cloud/api
  • URL
    https://develop-api.esper.cloud/api/pipelines/v0/operationlists/{operationlist_id}/operations/
  • Auth
    HTTP bearer

Path parameters

operationlist_idstring required

ID of the Operation List

Request body

argsobject

Arguments for the operation

operation_type'LOCK' | 'REBOOT' | 'SET_NEW_POLICY' | 'UPDATE_HEARTBEAT' | 'REQUEST_BUGREPORT' | 'REQUEST_DPCLOG' | 'ADD_TO_WHITELIST' | 'REMOVE_FROM_WHITELIST' | 'SET_APP_PERMISSION' | 'WIPE' | 'CAPTURE_SCREENSHOT' | 'SET_WIFI_STATE' | 'SET_BLUETOOTH_STATE' | 'SET_ROTATION_STATE' | 'SET_GPS_STATE' | 'SET_BRIGHTNESS_SCALE' | 'SET_STREAM_VOLUME' | 'SET_SCREEN_OFF_TIMEOUT' | 'SET_ADB_STATE' | 'INITIATE_OFFER' | 'INSTALL' | 'SIMPLE_INSTALL' | 'UNINSTALL' | 'REFRESH_APPLIST' | 'UPDATE_LATEST_DPC' | 'NOTIFY_OTA' | 'CLEAR_APP_DATA' | 'SET_GEO_FENCE' | 'SET_KIOSK_APP' | 'SET_DEVICE_LOCKDOWN_STATE' | 'SET_TIMEZONE' | 'SET_APP_STATE' | 'ADD_WIFI_AP' | 'REMOVE_WIFI_AP' | 'UPDATE_WIFI_AP' | 'UPDATE_DEVICE_CONFIG' | 'INITIATE_CONFERENCE_CALL' | 'ADD_OVERRIDE_APN' | 'SYNC_CONTENT' | 'SET_WALLPAPER'

Response

Created operation

codeinteger
messagestring

Changes

No recorded changes to this operation across all 6 revisions of this API.