Forum Discussion
Need a Rest API URL to get virtual server details from GTM
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.
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)
- RahulG
Altocumulus
Hi, thanks for the link. Is there a URI to get the virtual server details from the GTM ?
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