Page 1 of 1
API Key name Changes in 5.7 onwards
Posted: Mon Feb 22, 2021 7:13 am
by optionstechnology
Can you please document all of the key name changes in the API in version 5.7?
We have upgraded but are now having to comb though thousands of lines of code to fix
Also - in future its a good idea to --
A: leave the legacy entries in if they are not causing ay problems
B: tell us your making changes
Re: API Key name Changes in 5.7 onwards
Posted: Mon Feb 22, 2021 6:30 pm
by benjaminsmith
Hi
@optionstechnology,
Also - in future its a good idea to --
A: leave the legacy entries in if they are not causing ay problems
B: tell us your making changes
Noted. I'm reaching out to get more details on this, but there was a change in 5.7, specifically:
Updated objects API to no longer convert XML to JSON for a more consistent output and always returns the same structure at any result size [TPS#14740] -JO
And I'll follow up with you shortly on this topic.
Best Regards,
Benjamin
Re: API Key name Changes in 5.7 onwards
Posted: Thu Feb 25, 2021 6:21 am
by optionstechnology
Any update on this?
Re: API Key name Changes in 5.7 onwards
Posted: Thu Feb 25, 2021 2:14 pm
by benjaminsmith
Hi,
Here's an updated kb article on the API changes in 5.7.
https://support.nagios.com/kb/article/a ... 7-894.html
Let me know if you have further questions.
Regards,
Benjamin