Querying the Result of Converting a Document to HTML
Function
Querying the Result of Converting a Document to HTML
URI
GET /v1/koosearch/doc-search/html-result
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| task_id | No | String | Parsing task ID |
Request Parameters
None
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| task_status | String | Parsing task status. SUCCESS: succeeded; ERROR: failed; PENDING: to be processed; RUNNING: processing. |
| html | String | HTML result generated |
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
None
Status Codes
| Status Code | Description |
|---|---|
| 200 | HTML result generated |
| 400 | Invalid request parameters |
| 401 | Authentication error |
| 500 | Service content error |
Error Codes
See Error Codes.
What is your overall rating for this page?
Thank 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