get_hop_by_id & get_hop_task_by_id api