{
"hostid": "4349",
"page": 1,
"direction": "out",
"method": "accept",
"protocol": "ANY"
}curl --location --request POST 'api/v1/firewallList' \
--header 'signature;' \
--header 'apiuser;' \
--header 'Content-Type: application/json' \
--data-raw '{
"hostid": "4349",
"page": 1,
"direction": "out",
"method": "accept",
"protocol": "ANY"
}'{
"msg": "success",
"code": 200,
"time": 1765097222,
"data": {
"data": [
{
"id": 2653,
"name": "1207160253",
"direction": "out",
"direction_name": "出",
"method": "accept",
"method_name": "接受",
"protocol": "ANY",
"port": "ANY",
"ip": "ANY",
"priority": "1",
"remark": ""
},
{
"id": 2654,
"name": "1207164643",
"direction": "in",
"direction_name": "入",
"method": "drop",
"method_name": "拒绝",
"protocol": "ICMP",
"port": "ANY",
"ip": "103.91.211.9",
"priority": "2",
"remark": ""
}
],
"extend": {
"count": 2
}
}
}