Forum Discussion
Prakash_Krishna
Nimbostratus
May 03, 2014How to get the device basic information like hostname, management ip, platformName, OS version, chassis id, contact etc through RestAPI
Hi All,
Currently, We have been using SOAP APIs and we are just migrating to RestAPI implementation. Can any one help me here about how to get the device basic information like hostname, managem...
kunjan_118660
Cumulonimbus
May 04, 2014Not sure if this helps(11.5)
curl -sk -u admin:admin https:///mgmt/tm/sys/global-settings | python -m json.tool
curl -sk -u admin:admin https:///mgmt/tm/sys/version | python -m json.tool
curl -sk -u admin:admin https:///mgmt/tm/sys/hardware | python -m json.tool
Prakash_Krishna
Nimbostratus
May 04, 2014Thanks Kunjan. I just checked the JSON response and this should help me.
Regards,
Prakash.K
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects
