This came up in the recent Text APIs workshop at Heidelberg which @mromanello and I attended. If a collection has resources with multiple "views." Imagine HTML with just the text or HTML with a side-by-side image view, for example. Or different plain text derivatives of your sources. Simply switching by media type won't be sufficient for those cases. https://www.w3.org/TR/dx-prof-conneg/ presents the idea of a "profile" for this use case, and I think this would mean:
- A new optional property
profiles for Resources.
- A new parameter
profile that allows the choice between profiles.
The alternative, I guess, would be recommending people fool with the x. prefix to distinguish document responses with the same media type, but that seems weird.
This came up in the recent Text APIs workshop at Heidelberg which @mromanello and I attended. If a collection has resources with multiple "views." Imagine HTML with just the text or HTML with a side-by-side image view, for example. Or different plain text derivatives of your sources. Simply switching by media type won't be sufficient for those cases. https://www.w3.org/TR/dx-prof-conneg/ presents the idea of a "profile" for this use case, and I think this would mean:
profilesforResources.profilethat allows the choice between profiles.The alternative, I guess, would be recommending people fool with the
x.prefix to distinguish document responses with the same media type, but that seems weird.