add simple rest api to query list of topics