Netbox REST API reports faulty virtual device context url #12975
Labels
severity: medium
Results in substantial degraded or broken functionality for specfic workflows
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
NetBox version
v3.4.7
Python version
3.11
Steps to Reproduce
curl -X 'GET' \ 'https://netboxtest.netic.dk/api/dcim/virtual-device-contexts/?id=9
Response:
It seems to me that the "url" is wrong: "url": "https://netboxtest.netic.dk/api/dcim/devices/9/" as it points at a device, and not the virtual device context endpoint.
This causes a problem when I try to delete the virtual device context, because it tries to lookup the device, and not the vdc:
Expected Behavior
url should point at the virtual device context, and not at the device
Observed Behavior
url points at a dcim device
The text was updated successfully, but these errors were encountered: