Creating REST API with more actions other than usual CRUD.

Posted 3 years ago by andfelzapata

Say I have a resource with with the usual @store, @index, @create, @destroy, @show and @update, but I want more actions in the same restful way. (e.g @reportByDay, @reportByWeek, @reportByMonth, @reportByState). Any thoughts on how to accomplish this ?

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.