Skip to content

List Task

POSThttps://portal-prod.rosettalab.top/rosetta-open/project/tasks

This page will help you get started with list all tasks in a project.

body params

*projectIdlong
Project id which returned by Create Project
*startTimelong
start time, ms
*endTimelong
end time, ms
offsetinteger Defaults to 1
Start page number
limitinteger Defaults to 10
Number of posts per page
Examples
shell
curl https://portal-prod.rosettalab.top/rosetta-open/project/tasks \
 -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 "{\"offset\":1,\"limit\":10}"

responses

200
{
"code": 200,
"message": "Success",
"data": {
"count": 5505,
"data": [...]
},
"date": "2024-05-17 16:15:23",
"requestId": "140178c0171593377590610051afb4",
"success": true
}
400
{
"code": 400,
"data": null,
"message": "Illegal Parameter",
"date": "2024-05-17 16:15:23",
"requestId": "140178c0171593377590610051afb4",
"success": false
}