add api for view.get
merge file