object changes API does not include what was changed however the web interface does #3825

Closed
opened 2025-12-29 18:31:22 +01:00 by adam · 1 comment
Owner

Originally created by @baldgeek on GitHub (Jul 1, 2020).

Environment

  • Python version: 3.6.8
  • NetBox version: 2.8.6

Proposed Functionality

A change viewed in the web interface includes a "Difference" section. It would be nice if this data was available via the object changes API as well.

Use Case

It would allow a better collection of changes to outside systems and programmatic review/rollback of changes.

Database Changes

I do not believe this would require any DB changes since the data is visible on the web site.

External Dependencies

None that I am aware of.

Originally created by @baldgeek on GitHub (Jul 1, 2020). ### Environment * Python version: 3.6.8 * NetBox version: 2.8.6 ### Proposed Functionality A change viewed in the web interface includes a "Difference" section. It would be nice if this data was available via the object changes API as well. ### Use Case It would allow a better collection of changes to outside systems and programmatic review/rollback of changes. ### Database Changes I do not believe this would require any DB changes since the data is visible on the web site. ### External Dependencies None that I am aware of.
adam closed this issue 2025-12-29 18:31:22 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jul 1, 2020):

The API is intended to represent each change record discretely. As with any type of object, comparison of two or more records is a function that needs to be implemented by the consumer. As an example, your client might retrieve the two latest change records and then compare them locally using a diffing library.

@jeremystretch commented on GitHub (Jul 1, 2020): The API is intended to represent each change record discretely. As with any type of object, comparison of two or more records is a function that needs to be implemented by the consumer. As an example, your client might retrieve the two latest change records and then compare them locally using a diffing library.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3825