Updates an existing Operation in an Operation List.
Replace the operation_type and/or args for the Operation identified by operation_id; the updated Operation is returned.
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. Operations are grouped into a list so a single stage can execute multiple actions in sequence. This is an authenticated SCAPI endpoint.
Security
pipelines_SCAPIAuthToken
- Mock serverhttps://api.esper.io/_mock/openapi/pipelines/v0/operationlists/{operationlist_id}/operations/{operation_id}/
- https://develop-api.esper.cloud/apihttps://develop-api.esper.cloud/api/pipelines/v0/operationlists/{operationlist_id}/operations/{operation_id}/
curl -i -X PUT \
'https://api.esper.io/_mock/openapi/pipelines/v0/operationlists/{operationlist_id}/operations/{operation_id}/' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"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"
}'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" } }