I'm trying to create a new version of Dazah's API to be fully RESTful. To that end, I'm following the article at: http://www.vinaysahni.com/best-practices-for-a-pragmatic-restful-api
I understand that it's bad practice to have endpoints that are verbs, and you should always use nouns. But what would an endpoint look like to join a group?
GET /groups <= list of groups
GET /groups/1 <= group #1
GET /groups/members <= list of group members
POST /groups/members <= join group?? I'm not actually creating a new member here. I'm just adding myself to the collection of group members.
Perhaps what I am doing, however, is creating a new membership record?