Queries IP block history records for a specified IP address or CIDR block within a given time range.
Operation description
-
Returns the delivery time and result for a specified IP address or IP range within a given time period.
-
If multiple delivery records exist for the specified IP address or IP range within the specified time period, they are sorted by delivery time in descending order.
-
The maximum time range for a query is 90 days.
-
If no delivery record is found or if the delivery fails, the delivery time is not returned.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:DescribeDcdnFullDomainsBlockIPHistory |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| IPList |
string |
Yes |
The IP address or IP range to query. |
10.XX.XX.10/24 |
| StartTime |
string |
Yes |
The start of the time range to query, in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ. |
2023-04-24T17:00:00Z |
| EndTime |
string |
Yes |
The end of the time range to query, in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ. 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. |
13A2B792-9212-1CC9-8525-59EBEF3FFE01 |
| IPBlockInfo |
array<object> |
The operation result. |
|
|
object |
|||
| BlockIP |
string |
The blocked IP address or IP range. |
1.XXX.XXX.0~1.XXX.XXX.255 |
| DeliverTime |
string |
The delivery time. |
2023-04-24 18:49:37 |
| Status |
string |
The delivery status.
|
Success |
| OperationType |
string |
||
| BlockInterval |
string |
||
| UpdateType |
string |
||
| Code |
integer |
The response code. A non-zero value indicates an error:
|
0 |
| Description |
string |
The status description. |
OK |
Examples
Success response
JSON format
{
"RequestId": "13A2B792-9212-1CC9-8525-59EBEF3FFE01",
"IPBlockInfo": [
{
"BlockIP": "1.XXX.XXX.0~1.XXX.XXX.255",
"DeliverTime": "2023-04-24 18:49:37",
"Status": "Success",
"OperationType": "",
"BlockInterval": "",
"UpdateType": ""
}
],
"Code": 0,
"Description": "OK"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | A parameter is set to an invalid value. |
| 500 | InternalError | An internal error occurred; please try again later. | An internal error occurred. Try again later. If the error persists, submit a ticket. |
| 406 | InvalidKey.QuotaFull | The maximum number of keys is exceeded. | The number of keys has reached the upper limit. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.