body params
Examples
shell
curl https://${domain}/rosetta-open/task/updateTaskStatus \
-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 '{"annotationRequestId":"487562461747220480","senceId":"487562461747220480","taskStatusAction":"1"}'
json
responses
There are some restrictions when operating the task status, as follows, If this condition is not met, an error will be reported. Task status is not allowed
- Only tasks waiting to be assigned can be
PAUSE
- Only suspended or expired tasks can be
RESUME
json