rest - relation context
Say I have two collection resources: /persons /organizations A GET to /persons/id/ returns a specific person. Likewise, a GET to /organizations/id returns a specific organization. A person can be member of one or more organizations. In this relation context, we have data such as the role of the person in the organization, the date on which the person joined the organization, ... Which of the designs make most sense? A membership resource /memberships/id , to which a GET returns the data of the relation context (together with a link to the person and the organization). A /persons/id