Add doc to write API
Add some doc for Bucket API