AnsweredAssumed Answered

Finding related records via REST

Question asked by MrWhammy MrWhammy on Sep 23, 2015
Normally I get the related records for a relationship using the field of type "link" as the :link_name in 
GET //:record/link/:link_name

For instance in the module SugarFavorites there is a field activities that refers to relationship sugarfavorites_activities. To get the activities, I do
GET/SugarFavorites/:record/link/activities

However, some modules do not have these links, though they have relationships.

Take EmailAddress for instance, this has no fields of type link, but it has several relationships.

However, if I try to retrieve the related records to an EmailAddress using the relation ship name, I get a 404.
GET /EmailAddresses/:record/link/users_email_addresses

How do I handle these relationships that do not have corresponding link fields?

Outcomes