|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
Task information. |
||
| Status |
string |
Task status. Valid values:
|
Running |
| Code |
string |
Error code. |
ResourceNotFound |
| Message |
string |
Error message. |
The specified resource project is not found. |
| StartTime |
string |
Start time of the task. |
2021-12-24T03:01:41.662060377Z |
| EndTime |
string |
End time of the task. |
2021-12-24T03:01:49.480109219Z |
| UserData |
string |
Custom data attached to the task. |
{"ID": "user1","Name": "test-user1","Avatar": "http://example.com?id=user1"} |
| TaskType |
string |
Type of the task. |
VideoLabelClassification |
| TaskId |
string |
Task ID. |
c2b277b9-0d30-4882-ad6d-ad661382**** |
| Tags |
object |
Tags attached to the task. You can search for tasks by tag. |
|
| TaskRequestDefinition |
string |
Parameter definition in JSON string format. For more information, see the Request parameters section of the relevant asynchronous processing API topic. |
{ "ProjectName":"test-project", "CompressedFormat":"zip", "TargetURI":"oss://test-bucket/output/test.zip", "Sources":[{"URI":"oss://test-bucket/input/test.jpg"}] } |
| Progress |
integer |
Progress of the task. |
0 |