http - REST API Design with Composite ID -
what best way design restful resource object composite id? example, suppose have get /people resource getting list of person records. person doesn't have single id; instead, identified firstname, lastname, , birthdate. how should design resource single person?
i use 1 of following variations:
get /people/john/smith/1973-12-01 or
get /people/john,smith,1973-12-01
Comments
Post a Comment