add a beego api sample