doc: upload image api and new post api