indexer: implements list_resources()
rest: add resource listing