WorkflowSpecs
Create or update input mapping between two workflow specifications
Changed onCreate or update input mapping between two workflow specifications.
put/workflow-specs-mappings
Request
- Base URLhttps://api.delfi.slb.com/fdplan/evaluation/v1
- AuthAPI key in header Authorization and API key in header appkey
Headers
slb-partition-idstring required
Data partition id.
Request body
Example request
{
"fromWorkflowSpec": {
"id": "slb:workflow-specs:test-123",
"version": 1
},
"toWorkflowSpec": {
"id": "slb:workflow-specs:test-123",
"version": 2
},
"inputMappings": [
{
"fromAddress": {
"computationIndex": 0,
"type": "DataTypeInput",
"dataTypeIndex": 0
},
"toAddress": {
"computationIndex": 0,
"type": "DataTypeInput",
"dataTypeIndex": 0
}
},
{
"fromAddress": {
"computationIndex": 0,
"type": "DataTypeInput",
"dataTypeIndex": 1
},
"toAddress": {
"computationIndex": 0,
"type": "DataTypeInput",
"dataTypeIndex": 1
}
}
]
}Response
Workflow specification input mapping updated successfully.
Example response
{
"fromWorkflowSpec": {
"id": "slb:workflow-specs:test-123",
"version": 1
},
"toWorkflowSpec": {
"id": "slb:workflow-specs:test-123",
"version": 2
},
"inputMappings": [
{
"fromAddress": {
"computationIndex": 0,
"type": "DataTypeInput",
"dataTypeIndex": 0
},
"toAddress": {
"computationIndex": 0,
"type": "DataTypeInput",
"dataTypeIndex": 0
}
},
{
"fromAddress": {
"computationIndex": 0,
"type": "DataTypeInput",
"dataTypeIndex": 1
},
"toAddress": {
"computationIndex": 0,
"type": "DataTypeInput",
"dataTypeIndex": 1
}
}
]
}Changes
- info
endpoint added
- info