Add get_list API in server.