Focus
Focus
Table of Contents
End-of-Life (EoL)

Use the API Browser

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.
  1. Launch the web interface.
    1. Use a web browser to navigate to the actual FQDN or IP address of your firewall:
      https://<firewall>/
    2. Log in with your administrator credentials when prompted to log in to the web interface.
  2. Launch the API Browser.
    Go to the API browser URL on your firewall:
    https://<firewall>/api
  3. Drill-down to a request.
    When you first open the API browser, the available Request Types display.
    1. Select one of the request types to drill down to the next level of the XPath. Let’s start with Configuration Commands, which equates totype=report:
    2. Drill down further until you select a request that you want to test.
  4. Test a request.
    1. 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:
  5. When you're finished using the API browser, log out.
    (PAN-OS version 11.0.2 and later versions of 11.0) Use the XML API logout button in the browser.