body params
Examples
shell
curl https://portal-prod.rosettalab.top/rosetta-open/project/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>" \
-d "{\"folderId\":\"0\",\"projectManager\":\"\\\"Owner of the AK\\\"\"}"
json
response data
examples
json
json
Labeling tool config
json
{
"key": "box3d-[1cbd2]",
"type": "slotChildren",
"label": "Box3D",
"slotSpecification": {
"type": "box3d"
},
"children": [
{
"key": "box2d-[d14a6]",
"type": "slot",
"label": "Box2D",
"slotSpecification": {
"type": "box2d",
"restrictInsideCanvasBoundary": true,
"topLeftMark": "1",
"topRightMark": "2",
"bottomRightMark": "3",
"bottomLeftMark": "4",
"sizeCheckSwitch": true
}
},
{
"key": "select-[c1283]",
"label": "Class3D",
"type": "input",
"inputSpecification": {
"type": "select",
"items": [
{
"label": "Vehicle",
"value": "Vehicle"
},
{
"label": "Pedestrian",
"value": "Pedestrian"
},
{
"label": "Cyclist",
"value": "Cyclist"
}
],
"renderConfig": {
"selectionWidgetType": "Segment"
},
"continuousFrameSync": false
}
}
]
}
json
[
{
"key": "box3d-[ff05a]",
"type": "slot",
"label": "1",
"slotSpecification": {
"type": "box3d"
}
},
{
"key": "polygon3d-[402e1]",
"type": "slot",
"label": "1",
"slotSpecification": {
"type": "polygon3d"
}
},
{
"key": "point3d-[65113]",
"type": "slot",
"label": "1",
"slotSpecification": {
"type": "point3d"
}
},
{
"key": "line3d-[3b859]",
"type": "slot",
"label": "1",
"slotSpecification": {
"type": "line3d"
}
},
{
"key": "box2d-[02b3b]",
"type": "slot",
"label": "1",
"slotSpecification": {
"type": "box2d",
"restrictInsideCanvasBoundary": true,
"topLeftMark": "1",
"topRightMark": "2",
"bottomRightMark": "3",
"bottomLeftMark": "4",
"sizeCheckSwitch": true
}
},
{
"key": "line-[ee28a]",
"type": "slot",
"label": "1",
"slotSpecification": {
"type": "line",
"restrictInsideCanvasBoundary": true
}
},
{
"key": "splines-[9c3bd]",
"type": "slot",
"label": "1",
"slotSpecification": {
"type": "splines",
"restrictInsideCanvasBoundary": true
}
},
{
"key": "point-[939a3]",
"type": "slot",
"label": "1",
"slotSpecification": {
"type": "point",
"restrictInsideCanvasBoundary": true
}
},
{
"key": "cuboid-[5707c]",
"type": "slot",
"label": "1",
"slotSpecification": {
"type": "cuboid",
"frontTopLeftMark": "1",
"frontTopRightMark": "2",
"frontBottomRightMark": "3",
"frontBottomLeftMark": "4",
"backTopLeftMark": "5",
"backTopRightMark": "6",
"backBottomRightMark": "7",
"backBottomLeftMark": "8",
"sizeCheckSwitch": true
}
},
{
"key": "polygon-[1dfd5]",
"type": "slot",
"label": "1",
"slotSpecification": {
"type": "polygon",
"restrictInsideCanvasBoundary": true,
"sizeCheckSwitch": true
}
}
]
json
[
{
"key": "text-[7aba5]",
"label": "1",
"type": "input",
"inputSpecification": {
"type": "text"
}
},
{
"key": "select-[d72e5]",
"label": "1",
"type": "input",
"inputSpecification": {
"type": "select",
"items": [
{
"label": "Car",
"value": "car"
},
{
"label": "Truck",
"value": "truck"
},
{
"label": "Bicycle",
"value": "bicycle"
}
],
"renderConfig": {
"selectionWidgetType": "Dropdown"
}
}
},
{
"label": "1",
"metadata": {},
"inputSpecification": {
"type": "multiple-select",
"renderConfig": {
"selectionWidgetType": "Dropdown"
},
"items": [
{
"label": "Car",
"value": "car"
},
{
"label": "Truck",
"value": "truck"
},
{
"label": "Bicycle",
"value": "bicycle"
}
],
"continuousFrameSync": false
},
"inputOption": {},
"key": "select-[574aa]",
"type": "input"
}
]
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
}
]
}