body params
Examples
shell
curl https://portal-prod.rosettalab.top/rosetta-open/workflow/create \
-X POST \
-H "Content-Type: application/json" \
-H "X-STARDUST-KEY: <X-STARDUST-KEY>" \
-H "X-TS: <X-TS>" \
-H "X-SIGN: <X-SIGN>"
json
responses
json
Workflow config
json
{
"vertex": [
{
"name": "Distribution pool",
"runMode": 0,
"type": 0
},
{
"name": "Algorithm pool",
"runMode": 1,
"type": 4
},
{
"name": "Labeling pool",
"type": 1,
"workers": [],
"disableOperationItem": []
},
{
"name": "Inspection pool",
"type": 2,
"workers": [],
"disableOperationItem": []
},
{
"name": "Spot check pool",
"type": 3,
"workers": []
},
{
"name": "Completion pool",
"type": 5
}
]
}
json
{
"vertex": [
{
"name": "Distribution pool",
"runMode": 0,
"type": 0
},
{
"name": "Labeling pool",
"type": 1,
"workers": [],
"disableOperationItem": []
},
{
"name": "Inspection pool",
"type": 2,
"workers": [],
"disableOperationItem": []
},
{
"name": "Completion pool",
"type": 5
}
]
}