Bug/region endpoints

Help for #402