I post the same unanswered question from a comment. Let's say I have 2 entities (Team and Player) and a many-to-many relationship (Registration) which have id_team and id_player fields but also others information like registrationDate.
GET /teams/{id}/players
give me all players of a specific team
GET /players/{id}/teams
give me all teams where a specific player is registred.
My first question is, can I create this resource :
GET /teams/{id}/registrations
?
My second question is, what about if I want get ALL registrations ? can I access them by this URI :
GET /registrations
?