Querying Asynchronous Statistics Export Tasks
Function
This API is used to query asynchronous statistics export tasks in pagination mode. The tasks are sorted by modification time in descending order. If a task's status is success, the response will include a download_link parameter.
Calling Method
For details, see Calling APIs.
URI
GET /v1/cdn/statistics/export-tasks
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
limit |
No |
Integer |
|
|
offset |
No |
Integer |
Offset, which is the position where the query starts. The value must be greater than or equal to 0 (default value). |
|
task_id |
Yes |
String |
Task ID. |
|
task_name |
Yes |
String |
Task name. |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
total |
Integer |
Total number of export tasks. |
|
data |
Array of ExportTask objects |
Export task. |
|
Parameter |
Type |
Description |
|---|---|---|
|
task_id |
String |
Export task ID. |
|
task_name |
String |
Export task name. |
|
status |
String |
Definition Application status (for a domain name). Constraints N/A Value Range
Default Value N/A |
|
download_link |
String |
Download link. |
|
create_time |
Long |
Creation time. |
|
update_time |
Long |
Last update time. |
Status code: default
|
Parameter |
Type |
Description |
|---|---|---|
|
error |
ErrMsg object |
Error code and error message. |
Example Requests
None
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Success response. |
|
default |
Error response. |
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