In v3.1-beta1 the API version shows just 3, not 3.1 (or similar) #5695

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

Originally created by @markkuleinio on GitHub (Nov 21, 2021).

NetBox version

v3.1-beta1

Python version

3.7

Steps to Reproduce

$ curl -s http://netbox31beta.lein.io/api/ -i -H "Content-Type: application/json" | grep API-Version

Expected Behavior

$ curl -s http://netbox31beta.lein.io/api/ -i -H "Content-Type: application/json" | grep API-Version
API-Version: 3.1

Observed Behavior

$ curl -s http://netbox31beta.lein.io/api/ -i -H "Content-Type: application/json" | grep API-Version
API-Version: 3

Not sure if this is somehow related to https://github.com/netbox-community/netbox/issues/7835 (maintaining backward compatibility).

Originally created by @markkuleinio on GitHub (Nov 21, 2021). ### NetBox version v3.1-beta1 ### Python version 3.7 ### Steps to Reproduce ``` $ curl -s http://netbox31beta.lein.io/api/ -i -H "Content-Type: application/json" | grep API-Version ``` ### Expected Behavior ``` $ curl -s http://netbox31beta.lein.io/api/ -i -H "Content-Type: application/json" | grep API-Version API-Version: 3.1 ``` ### Observed Behavior ``` $ curl -s http://netbox31beta.lein.io/api/ -i -H "Content-Type: application/json" | grep API-Version API-Version: 3 ``` Not sure if this is somehow related to https://github.com/netbox-community/netbox/issues/7835 (maintaining backward compatibility).
adam added the type: bugstatus: accepted labels 2025-12-29 19:31:35 +01:00
adam closed this issue 2025-12-29 19:31:35 +01:00
Author
Owner

@jeremystretch commented on GitHub (Nov 22, 2021):

Nice catch. Coincidentally, I just fixed this the other day in 1c9d39d3e6. Probably should have opened a bug for it myself.

@jeremystretch commented on GitHub (Nov 22, 2021): Nice catch. Coincidentally, I just fixed this the other day in 1c9d39d3e6b1dffa46cf84b79566bed260e03401. Probably should have opened a bug for it myself.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5695