Forum Discussion

f5f5f5's avatar
f5f5f5
Icon for Altostratus rankAltostratus
Mar 04, 2024

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

  • 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

    • f5f5f5's avatar
      f5f5f5
      Icon for Altostratus rankAltostratus

      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