added api endpoint for whitelist entries (hosts)