--
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.
For more options, visit https://groups.google.com/d/optout.
Is I a requirement that clients have full control of the fields they do or don't want returned?
If there are simply a few well known sets of field combinations, why not allow clients in their request to specify both the requested generic media type plus a specific profile for what fields they want ( http://www.mnot.net/blog/2012/04/17/profiles)
So you could have the default representation for the resource, or request the 'limited' profile in the Accept header and get those fields in the response.
Doing so assists with better cache-ability, and preserves this as a single resource, but with different representations.
Thoughts?
-pete
You can use the profile qualifier in the Accept header of your request, FYI.
-pete