Exporting CDN Data
Function
This API is used to export data from CDN.
Calling Method
For details, see Calling APIs.
URI
POST /v1.0/cdn/statistics/stats/export
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
enterprise_project_id |
No |
String |
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. |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
action |
No |
String |
Definition Rule action. Constraints N/A |
|
domain_name |
No |
String |
List of domain names, which are separated by commas (.). If this parameter is set to all, reports are subscribed to for all domain names under the account. |
|
start_time |
No |
Long |
Query start time. The value is the number of milliseconds since the UNIX epoch (Jan 1, 1970). |
|
end_time |
No |
Long |
Query end time. The value is the number of milliseconds since the UNIX epoch (Jan 1, 1970). |
|
group_by |
No |
String |
Data grouping mode. |
|
service_area |
No |
String |
Definition Service area of the domain name. Constraints If the service area is Chinese mainland or global, the domain name must be licensed by the MIIT. Value Range
Default Value mainland_china |
|
stat_type |
No |
String |
Statistics types. Possible values: flux (traffic) and req_num (total requests). |
|
country |
No |
String |
|
Response Parameters
Status code: 200
Success response.
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