DescribeOriginTraffic
1. API Description
This interface (DescribeOriginTraffic) is used to query CDN origin traffic, data aggregation internval is 5 minutes.
2. Request Parameters
The following request parameter list includes only those required by the interface:
Parameter Name | Required | Type | Description |
---|---|---|---|
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. |
3. Output Parameters
Parameter Name | Type | Description |
---|---|---|
dataSet | Array of BandwithData | Origin traffic(Unit MB) |
requestId | String | Unique request ID returned with each request. Provide this ID when locating issues. |
4. Code Example
Query CDN origin traffic.
5. Error Codes
The following includes error codes encountered in business logic. For other error codes, see Common Error Codes.
Last updated