[TM] APIs for list all task and get task by id.