Add api insert documentation, close #1