Add api sample
Support ##insert block when merge.