raft: add new API to doc