return decoded paths for endpoint