Querying the status of a parsing task
Function
Querying a Parsing Task
URI
GET /v1/koosearch/doc-search/tasks/status
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
task_ids |
Yes |
Array of strings |
ID list of files to be deleted |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
[items] |
Array of QueryTaskStatusResult objects |
|
Parameter |
Type |
Description |
|---|---|---|
|
task_id |
String |
Task ID |
|
status |
String |
Task status |
Status code: 400
|
Parameter |
Type |
Description |
|---|---|---|
|
error_code |
String |
|
|
error_msg |
String |
Error description |
Status code: 401
|
Parameter |
Type |
Description |
|---|---|---|
|
error_code |
String |
|
|
error_msg |
String |
Error description |
Status code: 500
|
Parameter |
Type |
Description |
|---|---|---|
|
error_code |
String |
|
|
error_msg |
String |
Error description |
Example Requests
None
Example Responses
Status code: 200
Task query response body
[ {
"task_id" : "47436b8dbd5e4742b992e5e9edca8a5a",
"status" : "SUCCESS"
} ]
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Task query response body |
|
400 |
Invalid request parameters |
|
401 |
Authentication error |
|
500 |
Service content error |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot