Closed miticotoby closed 4 years ago
@miticotoby Thank you for opening this issue. The current client version does not support v2.7 yet. I will do that soon.
Finally the latest master
branch can handle this. Please check it. Thank you for being so patient.
netbox community decided (https://github.com/netbox-community/netbox/issues/3569) to change the scheme of various API routes slightly. this now causes type errors.
json: cannot unmarshal string into Go struct field SiteStatus.results.status.value of type int64
example route: /api/dcim/sites/ | jq '.results[] | .id, .name, .status'
"AWS"
{
"value": "active", "label": "Active", "id": 1 }