{
"hostid": "4349"
}curl --location --request POST 'api/v1/portList' \
--header 'Content-Type: application/json' \
--data-raw '{
"hostid": "4349"
}'{
"msg": "success",
"code": 200,
"time": 1765114474,
"data": [
{
"id": 5335,
"host_id": 4349,
"host_name": "ecs-enaLCR",
"name": "ssh",
"port_type": "all",
"sport": "14413",
"dport": "22",
"api_url": "xxxx.com",
"sys": 2,
"dip": "172.16.0.109"
}
]
}