Query Protocol Blocking List
Updated at:2025-10-16
Description
- Query the protocol blocking details for a specified TBSP under the user's account.
- Support fuzzy searches for TBSP-protected object IPs.
Request structure
Plain Text
1GET /v{version}/tbsp/{id}/protocolBlocking?ip={ip} HTTP/1.1
2Host: eip.bj.baidubce.com
3Authorization: authorization string
Request headers
No additional headers required beyond standard ones.
Request parameters
| Parameter name | Types | Required or not | Parameter location | Description |
|---|---|---|---|---|
| version | String | Yes | URL parameter | API version number, current value is 1. |
| id | String | Yes | URL parameter | ID of the TBSP |
| ip | String | No | Query | Protected object IP Address of TBSP, with fuzzy search supported |
Response headers
No special headers are required beyond the standard ones.
Response parameters
| Parameter name | Types | Description |
|---|---|---|
| protocolBlockingList | List<[TbspProtocolBlockingModel](EIP/API Reference/Appendix 1.md#TbspProtocolBlockingModel)> | List containing query results |
| id | String | ID of the TBSP |
Request example
Java
1GET /v1/tbsp/ipDdos-f294b1c9/protocolBlocking HTTP/1.1
2Host: eip.bj.baidubce.com
3Authorization:bce-auth-v1/a43eea003308400587496785f7f5d9ee/2022-04-28T11:06:00Z/3600/host;x-bce-date/25ec3d4baba54ad7397cb31c96cb5e364088ff79f9b853ffb8dc6c11ebcdcf16
Response example
Java
1HTTP/1.1 200 OK
2Server: nginx/1.19.0
3Date: Thu, 28 Apr 2022 11:06:00 GMT
4Content-Type: application/json; charset=UTF-8
5X-Bce-Request-Id: dfd5d01f-a869-49eb-aba5-d853a335a6d4
6{
7 "id": "ipDdos-f294b1c9",
8 "protocolBlockingList": [
9 {
10 "ip": "100.88.15.226",
11 "protocolPortList": [
12 {
13 "type": "udp",
14 "portBegin": 40,
15 "portEnd": 60
16 },
17 {
18 "type": "tcp",
19 "portBegin": 80,
20 "portEnd": 90
21 },
22 {
23 "type": "icmp"
24 },
25 {
26 "type": "tcp",
27 "portBegin": 70,
28 "portEnd": 70
29 }
30 ]
31 }
32 ]
33}
