Updated Swagger and SDK's
I have asked this before im sure of it! The Swagger published doc is still used on the v2 API... Majority of the platform is using v3/v4 so its obviously a documented API somewhere can we get a new one published then have a codegen ran over it?
.. We have had to monkey patch the py SDK;s to do things only available in 3 or v4 API's as they not available in v2 API
Michael Baker
Posted 4 years ago·Last reply 4 years ago
8 comments
Michael Baker
OP4 years agoYay!
LM User
·4 years agoIn case you want to view the documentation making better use of available screen real estate, here's the link to the swagger docs: https://www.logicmonitor.com/swagger-ui-master/api-v3/dist/
Stefan Wuensch
·4 years agoThe release notes for v176 just dropped earlier today, and v3 API documentation is mentioned. I don't see the swagger updated yet though.
https://www.logicmonitor.com/release-notes/v-176-release-notes
LogicMonitor API v3 Release
LogicMonitor REST API v3 is now available for use. The REST API Swagger documentation contains 203 frequently used API endpoints. This release also includes a Python SDK file. For more information, see Using LogicMonitor’s REST API.
Michael Baker
OP4 years agoNot tried this yet but... https://github.com/alufers/mitmproxy2swagger
Michael Baker
OP4 years agoView -> Developer -> Developer.Tools.. Select Network tab and choose the Fetch/XHR you will see most of the calls are API calls then and work back from that
Justin Dietz
·4 years agomind if i ask how you use chrome developer tools to see the calls?
MCMCMC
·4 years agoAs far as I know it is not officially relesed yet
Vitor_Santos
·4 years agoYeah, I face the same issue. No docs for v3/4. I always end up using Chrome Developer tools to see the actual calls on the browser directly & then transpose them into our py scripts.
Upvoting this...