Call the DescribeDcdnFullDomainsBlockIPHistory operation to retrieve the history of blocked IP addresses.
Operation description
This operation returns the delivery time and status for a specified IP address and time range.
If multiple delivery records exist for a specified IP address or CIDR block within a time range, the records are sorted by delivery time in descending order.
The maximum time range that you can query is 90 days.
If no delivery record exists for a given IP address and time range, or if the delivery fails, the delivery time is empty.
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 CIDR block to query. |
10.XX.XX.10/24 |
| StartTime |
string |
Yes |
The beginning of the time range to query. Specify the time in the YYYY-MM-DDThh:mm:ssZ format. |
2023-04-24T17:00:00Z |
| EndTime |
string |
Yes |
The end of the time range to 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
|
Parameter |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The request ID. |
13A2B792-9212-1CC9-8525-59EBEF3FFE01 |
| IPBlockInfo |
array<object> |
The result of the operation. |
|
|
object |
|||
| BlockIP |
string |
The IP address or CIDR block that was blocked. |
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 result code. A value other than 0 for Code may indicate one of the following issues:
|
0 |
| Description |
string |
The description of the response status. |
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.