Hello,
So I have a web site with companies and products. I use REST and make
companies a resource and products a resource (and a ‘sub-resource’ of
company). But only for viewing, no new, no create, no destroy, no
update. Now
I want to offer an admin interface that would be essentially the same
but
with an URL prefix of /my/ to the URL, same models, but that are viewed
differently. Only the owned companies and products are shown (being
logged in
is a requirement for everything in /my/), the interface would be
different,
and it would allow create, destroy, update, etc. What is the RESTful way
to
do it?
Thank you.