Add view flags to a couple API endpoints