- FDPlan
- Update a workflow specification
Update a workflow specification. It is only possible to update the "name", "description", "archived", "computationSpecs", "edges" and "annotations" fields of the workflow specification.
The patches to apply to the workflow specification. Only "replace" operations are supported with the exception of "add" and "remove" for "annotations" path. It is only possible to update the "name", "description", "archived", "computationSpecs", "edges" and "annotations" fields of the workflow specification.
- https://api.delfi.slb.com/fdplan/evaluation/v1https://api.delfi.slb.com/fdplan/evaluation/v1/workflow-specs/{workflowSpecId}
- Mock serverhttps://developer.slb.com/_mock/solutions/fdplan/apis/fdplan-evaluation/workflow-specs/{workflowSpecId}
curl -i -X PATCH \
'https://api.delfi.slb.com/fdplan/evaluation/v1/workflow-specs/{workflowSpecId}' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-H 'appkey: YOUR_API_KEY_HERE' \
-H 'slb-partition-id: string' \
-d '[
{
"op": "replace",
"path": "description",
"value": "Description"
},
{
"op": "replace",
"path": "archived",
"value": false
}
]'Workflow specification updated successfully.
The date the specification was created.
The computation specifications which make up the workflow specification.
[ { "id": "01DV2RPKYS5NYBAR6TNMJ8TNT8", "name": "spec-type", "version": 1, "latest": true, "archived": false, "description": "A specification.", "createdBy": "user@slb.com", "createdAt": "2020-01-01T00:00:00.000Z", "address": { … }, "inputDataTypeIds": [ … ], "outputDataTypeIds": [ … ] } ]
A list of graph edges which describe the data flow from one computation specifications output data-type to the next computation specifications input data-type.
[ { "fromAddressType": "DataTypeOutput", "fromComputationIndex": 0, "fromDataTypeIndex": 0, "toComputationIndex": 1, "toDataTypeIndex": 0 } ]
[ { "address": { … }, "key": "name", "value": "Decline Curves", "createdBy": "user@slb.com" } ]
{ "id": "01DV2RPKYS5NYBAR6TNMJ8TNT8", "name": "custom-workflow-spec", "version": 1, "latest": true, "archived": false, "description": "Description", "createdBy": "user@slb.com", "createdAt": "2020-01-01T00:00:00.000Z", "computationSpecs": [ { … }, { … } ], "edges": [ { … } ] }