add hostsummary api.