Creates a custom operations report.

Note
  • This operation allows you to create a custom operations report for a specific domain name. You can view the statistics about the domain name in the report.
  • You can call this operation up to three times per second.

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 CreateDcdnSubTask

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

ReportIds String Yes 2,4,6

The IDs of the metrics that you want to include in the report. Separate multiple IDs with commas (,). Valid values:

  • 2: Popular URLs by Request
  • 4: Popular URLs by Traffic
  • 6: Popular Referer by Request
  • 8: Popular Referer by Traffic
  • 10: Popular Back-to-origin URLs by Request
  • 12: Popular Back-to-origin URLs by Traffic
  • 14: Top Client IPs by Request
  • 16: Top Client IPs by Traffic
  • 18: Popular Domain Names by Traffic
  • 20: PV/UV
  • 22: Visit Distribution by Region
  • 24: Distribution of ISPs
DomainName String No example.com,example.org

The domain names for which you want to create a custom operations report. Separate multiple domain names with commas (,). You can specify up to 500 domain names. If you want to specify more than 500 domain names, submit a ticket.

Note If you do not specify a domain name, the custom operations reports are created for all domain names that belong to your Alibaba Cloud account.

Response parameters

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

The ID of the request.

Examples

Sample requests

http(s)://dcdn.aliyuncs.com/?Action=CreateDcdnSubTask
&ReportIds=2,4,6
&<Common request parameters>

Sample success responses

XML format

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

JSON format

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

Error codes

HttpCode Error code Error message Description
400 InvalidParameter The specified parameter is invalid. The error message returned because the specified parameter is invalid.
400 TimeParseFailed Failed to parse the time parameter. The error message returned because the time parameter failed to be parsed.
400 SubscriptionAlreadyExists The subscription already exists. The error message returned because the operations report already exists.
400 SubscriptionNotFound The subscription is not found. The error message returned because the operations report does not exist.
400 NameAlreadyExists The name already exists. The error message returned because the name of the operations report already exists.
400 DeliverExceedLimit The maximum number of subscribed tasks is exceeded. The error message returned because the maximum number of subscribed tasks has been reached.

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