Updated api to match new external views in indivo_server