This will get the current url route, but I think you want to resolve the `apiPath` with this?