questions about api

I am doing api test.
When you use this command, common and pool information for all partitions will appear.

https://{bigip-ip}/mgmt/tm/ltm/pool

I want to check all pool information for a particular partition.
Please tell me the api syntax. thank you

Try this:

https://<span class="token punctuation">{</span>bigip-ip<span class="token punctuation">}</span>/mgmt/tm/ltm/pool?<span class="token punctuation">\</span><span class="token variable">$filter</span><span class="token operator">=</span>partition+eq+<span class="token operator"><</span>PARTITION NAME<span class="token operator">></span>

GET |  https://1.1.1.1/mgmt/tm/ltm/pool?\\$filter=partition+eq+<test_parti>

Is the example above correct?
But nothing comes out.

You need to replace the <> brackets.

GET |  https://1.1.1.1/mgmt/tm/ltm/pool?\\$filter=partition+eq+test\_parti

yes…It shows 200 ok, but no result comes out…
I really don’t know what the problem is..

Ah, I see you’re using Postman (I thought you were using cURL). You need to remove the “\” character and then it should work

GET |  https://1.1.1.1/mgmt/tm/ltm/pool?$filter=partition+eq+test\_parti

Thanks to you, I solved it.
thank you :slight_smile: