4.0.2 API Docs Page Not Found #9703

Closed
opened 2025-12-29 21:21:20 +01:00 by adam · 4 comments
Owner

Originally created by @tgoodsell-tempus on GitHub (May 20, 2024).

Deployment Type

Self-hosted

NetBox Version

v4.0.2

Python Version

3.11

Steps to Reproduce

  1. View documentation stating Interactive REST API Docs located at /api/docs/: https://demo.netbox.dev/static/docs/rest-api/overview/#interactive-documentation
  2. Try to browse that location on a self hosted netbox instance while logged in as a super user.

Expected Behavior

Viewing the expected Interactive Documentation page.

Observed Behavior

Get a 404 - "The requested page does not exist" error.

Originally created by @tgoodsell-tempus on GitHub (May 20, 2024). ### Deployment Type Self-hosted ### NetBox Version v4.0.2 ### Python Version 3.11 ### Steps to Reproduce 1. View documentation stating Interactive REST API Docs located at `/api/docs/`: https://demo.netbox.dev/static/docs/rest-api/overview/#interactive-documentation 2. Try to browse that location on a self hosted netbox instance while logged in as a super user. ### Expected Behavior Viewing the expected Interactive Documentation page. ### Observed Behavior Get a 404 - "The requested page does not exist" error.
adam closed this issue 2025-12-29 21:21:20 +01:00
Author
Owner

@tgoodsell-tempus commented on GitHub (May 20, 2024):

Based upon some references to it and my own use of the endpoint, maybe this is just a doc change to reference /api/schema/swagger-ui/ instead? Provided what was referred to in the original document effectively means this swagger doc.

@tgoodsell-tempus commented on GitHub (May 20, 2024): Based upon some references to it and my own use of the endpoint, maybe this is just a doc change to reference `/api/schema/swagger-ui/` instead? Provided what was referred to in the original document effectively means this swagger doc.
Author
Owner

@arthanson commented on GitHub (May 21, 2024):

@tgoodsell-tempus that could be something left over in static, what are you doing to navigate to that link? Did you follow this link from an old install of NetBox? The link for this should be at https://docs.netbox.dev/en/stable/integrations/rest-api/ which does work on both the demo and local install.

@arthanson commented on GitHub (May 21, 2024): @tgoodsell-tempus that could be something left over in static, what are you doing to navigate to that link? Did you follow this link from an old install of NetBox? The link for this should be at https://docs.netbox.dev/en/stable/integrations/rest-api/ which does work on both the demo and local install.
Author
Owner

@tgoodsell-tempus commented on GitHub (May 21, 2024):

@arthanson Yes good callout, yes this is just a leftover from the static path for the docs, rather than the use of stable: https://demo.netbox.dev/static/docs/rest-api/overview/#interactive-documentation

In my case, it's likely it's just a "Googling" error, picking the wrong link of the two; for example:
Screenshot 2024-05-21 at 10 16 36 AM

@tgoodsell-tempus commented on GitHub (May 21, 2024): @arthanson Yes good callout, yes this is just a leftover from the `static` path for the docs, rather than the use of stable: https://demo.netbox.dev/static/docs/rest-api/overview/#interactive-documentation In my case, it's likely it's just a "Googling" error, picking the wrong link of the two; for example: ![Screenshot 2024-05-21 at 10 16 36 AM](https://github.com/netbox-community/netbox/assets/56050072/9e148a83-82a0-4c42-b66b-34287a372cb1)
Author
Owner

@arthanson commented on GitHub (May 21, 2024):

@tgoodsell-tempus I'll close this issue and create a housekeeping issue to cleanup old links on the demo instance. Thanks for alerting us to this.

@arthanson commented on GitHub (May 21, 2024): @tgoodsell-tempus I'll close this issue and create a housekeeping issue to cleanup old links on the demo instance. Thanks for alerting us to this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9703