When the end point
http://localhost/movies is hit, it should return movies grouped by genre. Lets assume (only in this case) a movie has one genre.
Was looking at http://jsonapi.org/format/#fetching-filtering
Should the end point, instead, look like this:
Or is there a different url structure I should consider.
Looking forward to your thoughts.