Skip to content

[WIP] Get Working Time

GEThttps://${domain}/rosetta-open/statistics/workingTime

We will provide a GET API for get working time.

query params

*campaignIdstring Defaults to 7d44b43b-3bbd-4f53-9f95-b7c0217d8d5b
Unique identifier for the campaign, with a maximum length of 255 bytes.
Examples
shell
curl https://${domain}/rosetta-open/statistics/workingTime?campaignId=7d44b43b-3bbd-4f53-9f95-b7c0217d8d5b \
 -X GET \
 -H 'Content-Type: application/json' \
 -H 'X-STARDUST-KEY: <X-STARDUST-KEY>' \
 -H 'X-TS: <X-TS>' \
 -H 'X-SIGN: <X-SIGN>'

responses

2000
{
"code": 2000,
"message": "Success",
"data": [
{...},
{...},
{...},
{...}
],
"date": "2025-06-03 14:49:49",
"requestId": "64fdba353f524dd5af317f90fedea688",
"success": true
}
5000
{
"code": 5000,
"data": null,
"message": "Service hiccuped, please try again later.",
"date": "2025-03-13 20:00:00",
"requestId": "864b70706a7349ea83e177a49800464f",
"success": false
}

response body field description

field namedescription
campaignIdCampaign ID
poolIdSampling pool ID
workTimeWorking hours (unit: seconds)
statisticsDateStatistical date (Format: yyyy-MM-dd)