Added a genric function that provides all paths/uris for a given resource.