api doc
(cherry picked from commit 2d5b13a)