Queries the IP blocking history.
Operation description
You must submit a ticket to apply for access to this operation.
Returns the delivery time and corresponding results for a specified IP address and time range.
If multiple delivery records exist for the specified IP address or CIDR block within the specified time range, the records are sorted in descending order of delivery time.
The maximum time range for a query is 90 days.
If no delivery record exists or the delivery fails for the specified IP address and time range, the delivery time is empty.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:DescribeCdnFullDomainsBlockIPHistory |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| IPList |
string |
Yes |
The IP addresses or CIDR blocks to query. |
1.XXX.XXX.1,2.XXX.XXX.2 |
| StartTime |
string |
Yes |
The start time of the query. Specify the time in the YYYY-MM-DDThh:mm:ssZ format. |
2023-04-24T17:00:00Z |
| EndTime |
string |
Yes |
The end time of the query. Specify the time in the YYYY-MM-DDThh:mm:ssZ format. The end time must be later than the start time. |
2023-04-24T19:00:00Z |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
BCD7D917-76F1-442F-BB75-C810DE34C761 |
| IPBlockInfo |
array<object> |
The operation results. |
|
|
object |
|||
| BlockIP |
string |
The delivered IP addresses or CIDR blocks. |
1.XXX.XXX.0~1.XXX.XXX.255 |
| DeliverTime |
string |
The delivery time. The time is in the YYYY-MM-DD HH:mm:ss format. |
2023-04-24 18:49:37 |
| Status |
string |
The delivery status. Valid values:
|
Success |
| Code |
integer |
The result code. If the code is not 0, one of the following conditions may apply:
|
0 |
| Description |
string |
The status description returned by the operation. |
OK |
Examples
Success response
JSON format
{
"RequestId": "BCD7D917-76F1-442F-BB75-C810DE34C761",
"IPBlockInfo": [
{
"BlockIP": "1.XXX.XXX.0~1.XXX.XXX.255\n",
"DeliverTime": "2023-04-24 18:49:37\n",
"Status": "Success"
}
],
"Code": 0,
"Description": "OK"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | An exception occurred while deleting the live streaming region. |
| 400 | QuotaExceeded | The quota is exceeded. | The quota is exhausted. |
| 500 | InternalServerError | internal server error | A service error occurred. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.