Forum Discussion

iAzhar's avatar
iAzhar
Icon for Nimbostratus rankNimbostratus
May 20, 2021
Solved

REST API Query

I would like to get the status of the pool and web servers [online/offline] via rest API. I’ve gone through the API documentation but couldn’t figure out what should be my API call.   Can someone...
  • AlexBCT's avatar
    May 21, 2021

    Hi,

     

    Have you seen this one? https://devcentral.f5.com/s/question/0D51T00006i7Yj4/icontrol-rest-getting-pool-member-status

     

    Basically, this should be your curl request (change the name of the pool/IP and add user/pass):

     

    curl --request GET --url 'https://192.168.10.31/mgmt/tm/ltm/pool/~Common~wiki-pool/members/stats'