Lets say I have a collection of applicants that can be accessed via
/applicants An applicant can be uniquely identified two different ways: by ssn or by an id number.
How would I specify my GETs for a specific applicant?
Typically for unique identifiers I would do
/applicants/{id} but in this case I have two different unique identifiers. Any suggestions on the proper way of handling this.
It seems incorrect to do something like
/applicants/{id} /applicants/ssn/{ssn}