add api for spray-routing-ext