Each firewall and Panorama provides an API
browser that is accessible from your web browser. The API browser
lets you navigate through and view the corresponding XPath and API
URL.
Launch the web interface.
Use a web browser to navigate to the actual
FQDN or IP address of your firewall:
https://<firewall>/
Log in with your administrator credentials when prompted
to log in to the web interface.
Launch the API Browser.
Go to the API browser URL on your firewall:
https://<firewall>/api
Drill-down to a request.
When you first open the API browser, the available Request
Types display.
Select one of the request types to drill
down to the next level of the XPath. Let’s start with Configuration
Commands, which equates to type=report:
Drill down further until you select a request that
you want to test.
Test a request.
Select the URL to then test that request
in the browser.
The browser
shows the resulting XML response in the browser:
Along with the URL, the
API browser also provides the XPath as necessary, as shown here
for a description of a predefined application:
When you're finished using the API browser, log out.