Skip to content

Webhook config #18166

Answered by candlerb
ivanmartinezjurjo asked this question in Q&A
Dec 5, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

If somebody knows if maytbe that isnt the netbox standard variable or where i can get a list of them

Here is the list: https://netboxlabs.com/docs/netbox/en/stable/integrations/webhooks/#available-context

There's no value called "changed_fields". But there are snapshots["prechange"] and snapshots["postchange"]. You could iterate over these and compare them. Note that snapshots["prechange"] can be null for a newly-created object, and I think snapshots["postchange"] can be null for a deleted object.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@candlerb
Comment options

Answer selected by ivanmartinezjurjo
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