Skip to content
Discussion options

You must be logged in to vote

the .json structure is always completely different depending on what you change

Can you give an example of what you're seeing, i.e. some JSON samples, and what you want to do with them?

It's pretty clear that whether you change a Device, an Interface, or an IP Address, you'll get different JSON, because those are different types of object. What's the problem? Are you trying to associate those back to a Device?

Your webhook can make calls back to the Netbox API if required. For example, given an IP address with an assigned interface_id, you can lookup that interface to map it to a device. At the most basic level, you can just use the webhook as a trigger, and make API calls to fetch all …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@lfkdev
Comment options

@candlerb
Comment options

Answer selected by lfkdev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants