22-Mar-2021 00:56
Hi, I need to write a python code using rest API to get all the virtual server details like name and IP address from the GTM. When I use https://<gtm device>/mgmt/tm/gtm/server?expandSubcollections=true, it only expand the first sub collection i.e in devicesReference and not the second sub collection i.e. in virtualServersReference.
Could you please help me resolve or find a better way of getting the details using a rest API that I can call in python.
22-Mar-2021 05:29
Hello RahulG,
Test with the REST-API explorer from your web browser to find what you need as a command in your script:
Lab 2.1 - Interact with a REST Extension (f5.com)