I would like to use the Rest-Easy framework to develop my application. My application is VOIP (telephony) related. It can :
- Originate a phone call between two phone numbers
- Transfer a phone call
- Perform CRUD actions on resources
Those phone calls are not saved and thus are not considered as resources in my application.
How should I name the rest url to originate a phone call ?
- /originate/numberA,numberB
- /originate/[numberA,numberB]
- /number/numberA/originate/numberB
- other?
Same goes for transfer (where 3 parameters (phone numbers) are required).