Programmatic API Discovery Method?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Programmatic API Discovery Method?

L1 Bithead

Hello,

 

I'm working on a Powershell module to interact with the XML API. I can get the syntax for the various commands just fine via the API browser and CLI/GUI debug, however I was wondering if there is a command or some way to get something like a WSDL file or XML document that defines all the command combinations and their syntax that I could parse so I don't have to hard-code in validations such as what kind of actions and request types there are?

 

If there isn't, I was thinking of maybe writing something that crawls the API browser and returns the info, but that's a really heavy discovery that would take forever to run and prone to breakage if the HTML format ever changes, but I'd really prefer to have something like https://mypaloalto.device/api/help?format=xml or something that would dump all the commands and their parameter combinations into something I could parse.

 

Does anyone know if something like this exists? I couldn't find it anywhere in the documentation. Thanks.

0 REPLIES 0
  • 1495 Views
  • 0 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!