Mengkueri konfigurasi pemblokiran penuh.
Deskripsi operasi
-
To use this operation,submit a ticket.
-
If you specify IP addresses or CIDR blocks, IP addresses that are effective and the corresponding expiration time are returned. If you do not specify IP addresses or CIDR blocks, all effective IP addresses and the corresponding expiration time are returned.
-
The results are written to OSS and returned as OSS URLs. The content in OSS objects is in the format of IP address-Corresponding expiration time. The expiration time is in the YYYY-MM-DD hh:mm:ss format.
-
You can share OSS URLs with others. The shared URLs are valid for three days.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| IPList |
string |
No |
Alamat IP atau Blok CIDR yang akan dikueri. Pisahkan beberapa nilai dengan koma (,). Anda dapat menentukan hingga 50 alamat IP atau Blok CIDR. |
1.XXX.XXX.1,2.XXX.XXX.2 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
95994621-8382-464B-8762-C708E73568D1 |
| Message |
string |
The returned results. If the operation is successful, URLs of OSS objects are returned. If the operation fails, an error message is returned. |
http://xxxx-api.oss-cn-hangzhou.aliyuncs.com/blocklist%2Fxxxxxxxxxxxx.txt?Expires=1682663947&OSSAccessKeyId=xxxxxxxxxx&Signature=xxxxxx |
| Code |
integer |
The response code. The value of Code is not 0 in the following scenarios:
|
0 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "95994621-8382-464B-8762-C708E73568D1",
"Message": "http://xxxx-api.oss-cn-hangzhou.aliyuncs.com/blocklist%2Fxxxxxxxxxxxx.txt?Expires=1682663947&OSSAccessKeyId=xxxxxxxxxx&Signature=xxxxxx",
"Code": 0
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | |
| 400 | QuotaExceeded | The quota is exceeded. | The quota is exhausted. |
| 500 | InternalServerError | internal server error | A service error occurred. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.