api for task resume, skip and list