Downloading a Table of Statistics by Region and Carrier
Function
- This API is used to download a table of statistics by region and carrier.
- You can download metric data generated within the past 90 days.
- The time span of data queried cannot exceed 31 days.
- If the start time is 2022-10-24 00:00:00 and end time is 2022-10-25 00:00:00, the statistics in [2022-10-24 00:00:00, 2022-10-25 00:00:00) are queried.
- The start time and end time must be timestamps in milliseconds. They must be both specified.
- A single tenant can call this API 10 times per minute.
URI
GET /v1.0/cdn/statistics/region-carrier-excel
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
start_time |
Yes |
Long |
|
end_time |
Yes |
Long |
|
domain_name |
Yes |
String |
Domain name list. Domain names are separated by commas (,), for example, www.test1.com,www.test2.com. The value all indicates that all domain names under your account are queried. |
interval |
No |
Long |
|
country |
No |
String |
|
excel_language |
No |
String |
Language of the table to be created. The value can be zh (Chinese) or en (English). If this parameter is not passed, the default value zh is used. |
enterprise_project_id |
No |
String |
Enterprise project that the resource belongs to. This parameter is valid only when the enterprise project function is enabled. The value all indicates all projects. This parameter is mandatory when you use an IAM user to call this API. |
excel_type |
Yes |
String |
Type of the statistics table. Currently, the following types are supported:
|
region |
No |
String |
|
carrier |
No |
String |
|
Request Parameters
None
Response Parameters
None
Example Request
GET https://cdn.myhuaweicloud.com/v1.0/cdn/statistics/region-carrier-excel?start_time=1667030400000&end_time_1667116800000&domain_name=www.test1.com&interval=300&country=cn&excel_language=zh&enterprise_project_id=all&excel_type=excel_type_region®ion=beijing&carrier=dianxin
Example Response
None
Status Codes
Status Code |
Description |
---|---|
200 |
Success response. |
400 |
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