Queries the number of packets that are blocked by a security feature on the application layer during a specified time range.

Note The maximum number of times that users can call this operation per second is 50.

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 DescribeDcdnUserSecDropByMinute

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

Lang String Yes zh

The language. Valid values: en and zh. Default value: en

SecFunc String Yes robot

The name of the security feature.

RuleName String No robot_ai

The rule that was triggered.

Object String No robot_fingerprint_ai

The object that triggered the rule.

DomainName String No example.com

The domain name.

StartTime String No 2006-01-02T15:04:04Z

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. Example: 2006-01-02T15:04:04Z.

EndTime String No 2006-01-02T15:05:04Z

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. Example: 2006-01-02T15:05:04Z.

Note The end time must be later than the start time.
PageSize Long No 2

The number of entries to return on each page. Maximum value: 100.

PageNumber Long No 10

The number of the page to return. Pages start from page 1.

Response parameters

Parameter Type Example Description
Description String OK

The description of HTTP responses.

Len Integer 2

The total number of entries returned.

PageNumber Integer 10

The number of the returned page.

PageSize Integer 2

The number of entries returned on each page.

RequestId String 8143fA8A-B2B2-4915-538D-546B538D25FA

The ID of the request.

Rows Array of Rows

The array returned.

Domain String example.com

The domain name.

Drops Integer 264

The number of packets blocked within 5 minutes.

Object String Normal Mode

The object that triggered the rule.

RuleName String Normal Mode

The rule that is triggered.

SecFunc String robot

The security feature that blocked the packets.

TmStr String 2021-01-31T15:04:04Z

The beginning of the time range that was queried. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is in UTC.

TotalCount Integer 5738

The total number of entries returned.

Example

Sample requests

http://cdn.aliyuncs.com?Action=DescribeDcdnUserSecDropByMinute
&SecFunc="robot"
&RuleName="robot_ai"
&Object="robot_fingerprint_ai"
&DomainName="example.com"
&StartTime="2006-01-02T15:04:04Z"
&EndTime="2006-01-02T15:05:04Z"
&PageSize=2
&PageNumber=10
&Lang="zh"
&<Common request parameters>

Sample success responses

XML format

<TotalCount>5738</TotalCount>
<PageSize>2</PageSize>
<PageNumber>10</PageNumber>
<Len>2</Len>
<Rows>
    <RuleName>Normal Mode</RuleName>
    <Object>Normal Mode</Object>
    <SecFunc>robot</SecFunc>
    <TmStr>2021-01-31T15:04:04Z</TmStr>
    <Domain>example.com</Domain>
    <Drops>164</Drops>
</Rows>
<Rows>
    <RuleName>Normal Mode</RuleName>
    <Object>Normal Mode</Object>
    <SecFunc>robot</SecFunc>
    <TmStr>2021-01-31T15:04:04Z</TmStr>
    <Domain>example.com</Domain>
    <Drops>264</Drops>
</Rows>

JSON format

{
    "TotalCount":5738,
    "PageSize": 2, 
    "PageNumber": 10, 
    "Len": 2, 
    "Rows": [
        {
            "RuleName": "Normal Mode",
            "Object": "Normal Mode", 
            "SecFunc": "robot", 
            "TmStr": "2021-01-31T15:04:04Z", 
            "Domain": "example.com", 
            "Drops": 164
        }, 
        {
            "RuleName": "Normal Mode",
            "Object": "Normal Mode", 
            "SecFunc": "robot", 
            "TmStr": "2021-01-31T15:04:04Z", 
            "Domain": "example.com", 
            "Drops": 264
        }
    ],
    "Description": "OK", 
    "RequestId": "8143fA8A-B2B2-4915-538D-546B538D25FA"
}

Error codes

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