Re:Some REST best practices
by shangxiao on Monday November 17, 2014 @11:44AM
(#8618984)
Chances are you're (well at least with me) going to do filtering anyway so /artist/8/albums becomes redundant ;)
[ Parent
| on HN ]
I see what you're saying, but it's not redundant, it's just a synonym. By redundant I meant that there are keys that are not necessary.
/artist/{artist}/albums
/albums?artist={artist}
AlbumsController#index(artist)