Customizes an operations report.

Note
  • You can customize an operations report for a specific domain name. Then, you can view statistics about the domain name in the report.
  • The maximum number of times that each user can call this operation per second is 3.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes CreateCdnSubTask

The operation that you want to perform. Set the value to CreateCdnSubTask.

ReportIds String Yes 1,3,5

You can specify metrics that you want to include in the report. Separate metrics with commas (,). Valid values:

  • 1: frequently requested URLs (ranked by the number of requests)
  • 3: frequently requested URLs (ranked by the amount of network traffic)
  • 5: frequently used referer headers (ranked by the number of requests)
  • 7: frequently used referer headers (ranked by the amount of network traffic)
  • 9: frequently requested back-to-origin URLs (ranked by the number of requests)
  • 11: frequently requested back-to-origin URLs (ranked by the amount of network traffic)
  • 13: top client IP addresses (ranked by the number of requests)
  • 15: top client IP addresses (ranked by the amount of network traffic)
  • 17: domain names ranked by the amount of network traffic
  • 19: page views and unique visitors
  • 21: regions from which requests are initiated
  • 23: distribution of Internet service providers (ISPs)
Status String No enable

The status of the operations report. Valid values:

  • enable: enabled
  • disable: disabled
Note The Status parameter is reserved. You do not need to set it.
DomainName String No www.example1.com,www.example2.com

The domain names that you want to include in the operations report. Separate domain names with commas (,). If you do not specify a domain name, all domain names that belong to your Alibaba Cloud account are included.

StartTime String No 2021-06-02T00:00:00Z

The time when the operations report takes effect. Specify the time in the ISO 8601 standard in the YYYY-MM-DDTHH:mm:ssZ format. The time must be in UTC.

EndTime String No 2021-07-02T00:00:00Z

The time when the operations report ends. Specify the time in the ISO 8601 standard in the YYYY-MM-DDTHH:mm:ssZ format. The time must be in UTC.

Response parameters

Parameter Type Example Description
RequestId String 04F0F334-1335-436C-A1D7-6C044FE73368

The ID of the request.

Examples

Sample requests

http(s)://cdn.aliyuncs.com/?Action=CreateCdnSubTask
&ReportIds=1,3,5
&<Common request parameters>

Sample success responses

XML format

<CreateCdnSubTaskResponse>
  <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
</CreateCdnSubTaskResponse>

JSON format

{
    "RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}

Error codes

For a list of error codes, visit the API Error Center.