This got me thinking about REST and resource identifiers and why if you are doing REST its really important to understand what the right resource is. With conference calls there are basically two choices
- Have a unique conference number by person, this person therefore can just hand it out to people and they can dial in at anytime for a meeting
- Have a unique conference number by meeting. So when you want a meeting you have to arrange it and get a unique ID
The second is what you should be doing as it means that the meeting is the resource and the participants join the meeting. Someone can still be the chair if required but its the meeting that is the discreet entity.
The point here is that when doing REST you need to think about the implications of your resource hierarchy selections and not tie them to the first thing that you think makes sense.