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
QE Tracker for https://issues.redhat.com/browse/SAT-38956