Skip to content

Create an Operation for Operation List
Stable

Request

Security
SCAPIAuthToken
Path
operationlist_idstringrequired

ID of the Operation List

Bodyapplication/jsonrequired
argsobject

Arguments for the operation

operation_typestring
Enum:"LOCK""REBOOT""SET_NEW_POLICY""UPDATE_HEARTBEAT""REQUEST_BUGREPORT""REQUEST_DPCLOG""ADD_TO_WHITELIST""REMOVE_FROM_WHITELIST""SET_APP_PERMISSION""WIPE"
cURL
curl -i -X POST \
  'https://develop-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"
  }'

Responses

Created operation

Bodyapplication/json
codeinteger
messagestring
contentobject(Operation)
Response
{ "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" } }