scaleway / netbox-netprod-importer

Poll data from network devices in production and import it into netbox
GNU General Public License v3.0
101 stars 31 forks source link

Deprecate the _choices API endpoints in netbox v2.8.0 #39

Open nabapal opened 4 years ago

nabapal commented 4 years ago

Netbox release v2.8.0 (https://github.com/netbox-community/netbox/pull/4479)

The _choices API endpoints have been removed. Instead, use an OPTIONS request to a model's endpoint to view the available values for all fields. (#3416)

Due to this netbox-netprod-importer is not working. can we change the code for netbox-netprod-importer according to new netbox API

aruhier commented 4 years ago

Hi, Thanks a lot for the bug report. This issue will be linked to https://github.com/scaleway/python-netboxapi/issues/8. Once it's done, it should be pretty straightforward to use it here.