- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
01-28-2026 10:42 AM
Hi, I've been using the REST API for some months (and I like it). The base url (e.g. "/restapi/v11.2") I set from a config file. I've been thinking about how to avoid this and use the XML API to lookup the current version (e.g. using "<show><upgrade-history/></show>" or "<show><system><info/></system></show>"). Can I extract the API version ("major.minor") from the current Panorama version?
Regards
Tilmann
01-28-2026 12:06 PM - edited 01-28-2026 12:38 PM
Hi @T.Boess ,
Yes, you can run the /api/?type=op&cmd=<show><system><info></info></system></show> XML API command and parse the <sw-version>11.2.4-h7</sw-version> string out of it.
Thanks,
Tom
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

