-
We have an instance of netbox version 2.7.4 installed on our internal network. We are now working with an external vendor who needs the api documentation, but they do not have access to our network to view the documentation from our installation. We have done some customization and are not yet in a position to update to the latest version, so the documentation on the demo or readthedocs will be outdated to our implementation. Is there somewhere that archive documentation is available on the public web? I have done some searching but found nothing yet. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
However, be very wary going down this path. Netbox API changes from version to version; if your external developers develop to v2.7, then they'll have to make substantial changes to their work later when you upgrade. I think it's better to get your upgrades out of the way first. As for your local modifications to Netbox: depending on what you've done, this may be hard for you to unpick. However, if you can take your work and turn it into a Netbox "plugin" (first introduced in v2.8) then it should be easier to maintain separately. |
Beta Was this translation helpful? Give feedback.
curl http://localhost:8001/api/docs/?format=openapi >netbox.openapi.json
and give this file to your external developers; they can open it an OpenAPI tool of their choice.However, be very wary going down this path. Netbox API changes from version to version; if your external developers develop to v2.7, then they'll have to make substantial changes to their work later when you upgrade. I think it's better to get your upgrades out of the way first.
As for your local modifications to Netbox: depending on what you've done, this may be hard for you to unpick. However, if you can take your work and turn it into a Netbox "plugin" (fir…