NetboxPS
NetboxPS copied to clipboard
Netbox 4.0 and 4.1 api changes breaking Connect-NetboxAPI
After updating Netbox, when attempting Connect-NetboxAPI I get error.
"/api/extras/content-types/ The requested page does not exist."
Netbox release notes show some API endpoints have been changed:
https://netboxlabs.com/docs/netbox/en/stable/release-notes/version-4.0/
REST API Changes
The /api/extras/content-types/ endpoint has moved to /api/extras/object-types/ The /api/extras/reports/ endpoint has been removed
https://netboxlabs.com/docs/netbox/en/stable/release-notes/version-4.1/
REST API Changes
The /api/extras/object-changes/ endpoint has moved to /api/core/object-changes/.
There is an Pull Request for this issue: https://github.com/benclaussen/NetboxPS/pull/60