Hannes_Rapp
May 13, 2015Nimbostratus
iControlRest - How to limit the output to a single parameter?
Hi,
I'm aware that you can pass ?$select= to limit the iControlRest output to a single parameter. It does reduce the output significantly, but its still a bit too much.
Question - how can I further reduce the output (using iControl) to have only the following output:
"fullPath":"/Common/mysecurity-policy_443"
Instead of
[root@bigip1:Active:Changes Pending] ~ curl -sk -u admin:admin https://localhost/mgmt/tm/asm/policies/V9NGrsJI4rJFeyE6uYG7yw/?\$select=fullPath
{"selfLink":"https://localhost/mgmt/tm/asm/policies/V9NGrsJI4rJFeyE6uYG7yw$select=fullPath","kind":"tm:asm:policies:policystate","fullPath":"/Common/mysecurity-policy_443"}
[root@bigip1:Active:Changes Pending] ~