CRUD restful api for note