Revert "new api doc"

This reverts commit 73c1efdd3074da95ace9d43aefcd700e63bfdd51.