--
You received this message because you are subscribed to the Google Groups "API Craft" group.
To unsubscribe from this group and stop receiving emails from it, send an email to api-craft+...@googlegroups.com.
Visit this group at http://groups.google.com/group/api-craft?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
We chose that to give us the flexibility to include parts of a resource or not, depending on usage.
If a car has a owner but the general usage is to use the owner name and phone number then we can reduce data by including a link to the owner resource but also include the owner name and phone number in the embedded resource. If the car owner doesn't have an phone number, using null tells the client app that there's no point following a link if they want the owner's phone number as its explicitly null and not just omitted.
May not be good solution but it works for us.
--
You received this message because you are subscribed to a topic in the Google Groups "API Craft" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/api-craft/MrEixUwOCWA/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to api-craft+...@googlegroups.com.