set up api to get incident distribution