Hi, newbie questions here.
I am familiar with the common pattern:
But if there are more than one way to get an item, how would the RAML define:
/[get by parameters 1, 2, and 3]
For example, you can get a person by their id; or by the complete set of firstname, lastname and date of birth.
Is the basic idea that a new nested resource would need to be defined for each way items can be retrieved?
But then can you have more than one resource nested under the main collection?
E.g., could you have different methods defined such as: