Skip to content

Add Profiles to Collection Resource response #276

@hcayless

Description

@hcayless

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:

  1. A new optional property profiles for Resources.
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions