Forum Discussion
REST API Query
- 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'
Also, how can I check if a virtual server is up/down via rest call?
- AlexBCTMay 23, 2021Cumulonimbus
Basically anything can be found via iControl, but can be a bit of a search at first. Anything to do with virtual servers, can be found under /mgmt/tm/ltm/virtual (the structure is very similar to TMSH commands). Have a look here for the full guide and setup required for any iControl requests;
https://clouddocs.f5.com/api/icontrol-rest/
Whenever I need to build any iControl commands, I use these pages to reference material.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com