I don't know the detail about this rest [login to view URL] can be simple for only one model resource or complicated for a whole [login to view URL] please tell me your project detail,you can write it according the following:
1 how this rest api is used? Integrated with other site or itself is a site api.
2 for what? for example---createupdatedeleteshow videos,or some else resource
manipulation(rest is resource based).
3 the other detail you think should be told.
Rails' rest covered some aspects: routes,model or table,respond view type...,to let you crud
[login to view URL] we need to know the detail about your project to design the rest api,especially project resource(video,book,article,or self-defined resource).