AMBARI-4380. Hosts API-calls. (onechiporenko)