Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ Content Delivery Network/ API Reference/ Out-of-Date APIs/ Statistics Analysis/ Downloading a Table of Statistics by Region and Carrier

Downloading a Table of Statistics by Region and Carrier

Updated on 2024-09-02 GMT+08:00

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

Table 1 Query parameters

Parameter

Mandatory

Type

Description

start_time

Yes

Long

  • Start timestamp of the query. The timestamp must be set to a multiple of 5 minutes.
  • If the value of interval is 300, set start_time to a multiple of 5 minutes, for example, 1631240100000 (2021-09-10 10:15:00).
  • If interval is set to 3600, set start_time to the top of an hour, for example, 1631239200000 (2021-09-10 10:00:00).
  • If interval is set to 86400, set start_time to 00:00:00 GMT+08:00, for example, 1631203200000 (2021-09-10 00:00:00).

end_time

Yes

Long

  • End timestamp of the query. The timestamp must be set to a multiple of 5 minutes.
  • If the value of interval is 300, set end_time to a multiple of 5 minutes, for example, 1631243700000 (2021-09-10 11:15:00).
  • If interval is set to 3600, set end_time to the top of an hour, for example, 1631325600000 (2021-09-11 10:00:00).
  • If interval is set to 86400, set end_time to 00:00:00 GMT+08:00, for example, 1631376000000 (2021-09-12 00:00:00).

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

  • Query interval, in seconds.
  • 300 (5 minutes): The maximum query time span is two days.
  • 3600 (1 hour): The maximum query time span is 7 days.
  • 86400 (1 day): The maximum query time span is 31 days.
  • If this parameter is not passed, the system uses the smallest value corresponding to the queried time span by default.

country

No

String

  • Country and region codes, which are separated by commas (,). The value all indicates all codes. For details about the values, see the appendix.
  • This parameter cannot be set when carrier statistics are queried.
  • This parameter cannot be set when top URL statistics are queried.
  • When accessing regional data, set this parameter to cn (China).

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:

  • excel_type_usage: regional utilization statistics.
  • excel_type_access: regional access statistics.
  • excel_type_region: region distribution statistics.
  • excel_type_carrier: statistics by region and carrier.
  • excel_type_country: country and region statistics.
  • excel_type_top_url: top URL statistics.

region

No

String

  • Region. This parameter is valid only when country is set to cn (China).
  • This parameter cannot be set when carrier statistics are queried.
  • This parameter cannot be set when country and region statistics are queried.
  • This parameter cannot be set when top URL statistics are queried.

carrier

No

String

  • Carrier code.
  • This parameter cannot be set when region distribution statistics are queried.
  • This parameter cannot be set when country and region statistics are queried.
  • This parameter cannot be set when top URL statistics are queried.

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&region=beijing&carrier=dianxin

Example Response

None

Status Codes

Status Code

Description

200

Success response.

400

Error response.

Error Codes

See Error Codes.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback