-
Bug
-
Resolution: Done
-
Normal
-
None
-
3
-
False
-
foreman-3.17.0-0.2.develop.20251012004631gitb9ced20
-
Satellite Rocket Sprint 6, Satellite Rocket Sprint 7
-
sat-rocket
-
None
-
None
-
None
-
None
In the API, interfaces can be looked up by host, domain or subnet. Each returned object then contains backlinks to domain and subnet, but not the host (see the example in https://apidocs.theforeman.org/foreman/3.4/apidoc/v2/interfaces/show.html).
Steps to reproduce:-
- ssh to satellite
- use curl command to get the interface object for a host
``` curl -u admin:changeme -H "Content-Type: application/json" "sat-url/api/hosts/:host_id/interfaces"```
- see the returned interface objects
the interface object does not contain host backlink(host_id, host_name).
Solution:-
After this fix the interface object will contain host backlink
There are no Sub-Tasks for this issue.