Skip to content

Create or update configuration for a computation

Request

Create or update configuration properties for a computation. The parameters workflowSpecId and computationIndex will be used to uniquely identify the configuration to be created or updated.

Note: It is advised not to change the computation configurations while an evaluation is running. This might lead to unexpected evaluation results.

Security
bearer and appkey
Path
workflowSpecIdstringrequired

The workflow specification ID.

Query
computationIndexnumberrequired

The computation index in the workflow spec.

Headers
slb-partition-idstringrequired

Data partition id.

Bodyapplication/jsonrequired

The configuration properties for a computation

<property name>stringadditional property
curl -i -X PUT \
  'https://api.delfi.slb.com/fdplan/evaluation/v1/workflow-specs/{workflowSpecId}/computation-config?computationIndex=0' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -H 'appkey: YOUR_API_KEY_HERE' \
  -H 'slb-partition-id: string' \
  -d '{
    "property1": "string",
    "property2": "string"
  }'

Responses

Computation configuration created successfully.

Response
No content