You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So /api/virtualization/clusters returns a cluster with ID 4, but requesting additional information using /api/virtualization/clusters/4 yields a 404? All the listed cluster IDs on our netbox are also available as detail views using their respective IDs. weird.
I've got a couple of questions:
Which netbox version are you running?
Which permissions does the API user have? superuser? a smaller set?
Is the "Proxmox" cluster shown on /virtualization/clusters/ (without /api)? If yes, which URL does it redirect you to, when you click on it?
What does /virtualization/clusters/4 (without /api) show?
For GET /api/virtualization/clusters/ HTTP/1.1 the result is
{ "count": 1, "next": null, "previous": null, "results": [ { "id": 4, "name": "Proxmox", "type": { "id": 7, "url": "http://x-aachen.de/api/virtualization/cluster-types/7/", "name": "Proxmox", "slug": "proxmox" }, "group": null, "site": { "id": 1, "url": "http://x-aachen.de/api/dcim/sites/1/", "name": "x-aachen.de", "slug": "kullen" }, "comments": "", "tags": [], "custom_fields": {}, "created": "2017-12-21", "last_updated": "2017-12-21T15:12:49.124749+01:00" } ]
See https://pastebin.com/nTdUsQeJ for correct layout.
and the Script requests
gets redirected (301) to (see #3)
This request results in a 404 because the page doesn't exist
The text was updated successfully, but these errors were encountered: