Fork me on GitHub

Hi folks. Given a url, I’d like to get the associated route. What’s the pedestal function that does that? For example, given a url /api/fd17ae7e-6f8e-4ca6-813f-3597f950db55/foo, I’d like to get /api/:id/foo. Context: I’m trying to extract some logs from integration tests. The logs have the raw url, and I need to get their associated routes for generating some visualizations. Using pedestal internal functions is fine in this context (integration tests).