v2.5 POST to API /dcim/interface-connections fails #2680
Labels
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
Environment
When calling api/dcim/interface-connections with corresponding interface IDs there appears an error about the interface not belonging to a device or virtualmachine:
Steps to Reproduce
curl -X POST -H "Authorization: Token <token>" -H "Content-Type: application/json" -d '{"interface_a": <iface_a>, "interface_b": <iface_b>, "connection_status": true}' https://netbox.dev.test.net/api/dcim/interface-connections/
Expected Behavior
The connection should be created as in Netbox 2.4.9
Observed Behavior
The text was updated successfully, but these errors were encountered: