get_all_views was hitting wrong endpoint