question: @ GET @ Produces ( { MediaType . APPLICATION_XML , MediaType . APPLICATION_JSON } ) @ Path ( "/{id}/hosts" ) @ Deprecated public HostList listHosts ( @ PathParam ( "id" ) URI id ) throws DatabaseException { getTenantById ( id , false ) ; verifyAuthorizedInTenantOrg ( id , getUserFromContext ( ) ) ; HostList list = new HostList ( ) ; list . setHosts ( map ( ResourceTypeEnum . HOST , listChildren ( id , Host . class , "label" , "tenant" ) ) ) ; return list ; }
target:  Lists the id and name for all the hosts that belong to the given tenant organization. <p> This method is deprecated. Use /compute/hosts instead