How to use RestAPI for searching virtual servers list(related iRule)

Hi I’m searching method(Using RestAPI)… How to create a list of virtual server that is related specific iRule like iRule editor.

like this…

I find the way.. But, It takes so long term to calculate filtering virtual server’s list.

(Found way)

curl -sk -u admin:admin -H “Content-Type: application/json” -X GET \$select=rules | sed -r ‘s/$/\n/; s/,/\n/; s/([)/\1\n/g; s/(])/\n]/g’ (https://devcentral.f5.com/questions/i-need-rest-api-for-list-datagroup-and-check-the-irule-is-applied-to-which-vs)

So, I need your help… To make virtual server list using RestAPI for filtering virtual server that related specific iRule.

plz help me…