add traverse param in api
add history