Skip to content

Annotation Request

POSThttps://portal-prod.rosettalab.top/rosetta-open/annotation/request

This page will help you get started with sending annotation tasks to a project's workflow.

body params

*projectIdlong
Project id returned by Create Project
workflowIdlong
Workflow id returned by API Create Workflow or Create Project, if not set or set to 0, the platform will choose the default workflow which created alongside the project.
*datasetIdlong
Dataset id of scenes which returned by Upload Dataset or Import Dataset
*dataIdsstring[]
Data ids of scenes which returned by Upload Dataset or Dataset Status
Examples
shell
curl https://portal-prod.rosettalab.top/rosetta-open/annotation/request \
 -X POST \
 -H "Content-Type: application/json" \
 -H "X-STARDUST-KEY: <X-STARDUST-KEY>" \
 -H "X-TS: <X-TS>" \
 -H "X-SIGN: <X-SIGN>"

responses

200
{
"code": 200,
"message": "Success",
"data": {
"successTaskList": [...],
"errorDataIdList": [...]
},
"date": "2024-05-16 19:03:34",
"requestId": "864b70706a7349ea83e177a49800464e",
"success": true
}
400
{
"code": 400,
"data": null,
"date": "2024-05-16 19:03:34",
"message": "Illegal Parameter",
"requestId": "864b70706a7349ea83e177a49800464e",
"success": false
}