DescribeTraffic
Last updated
Last updated
This API (DescribeTraffic) is used to query CDN traffic, data aggregation internval is 5 minutes.
Query Billing Regions: Use DescribeBillingRegions
.
The following table lists the required request parameters for the API:
Parameter Name | Required | Type | Description |
---|---|---|---|
Parameter Name | Type | Description |
---|---|---|
Query CDN Traffic.
The following includes error codes encountered in business logic. For other error codes, see Common Error Codes.
startTime
Yes
String
The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
endTime
Yes
String
The end of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. Note: The end time must be later than the start time.
domain
No
String
domain, use commas(,) to separate multiple domain names. By default, all acceleration domains will be queried.
region
No
String
protocol
No
String
dataSet
Array of BandwidthData
Traffic data(Unit MB)
requestId
String
Unique request ID, which is returned with every request. This request ID is needed to locate issues.