8000 Rethink extension negotiation · Issue #614 · json-api/json-api · GitHub
[go: up one dir, main page]

Skip to content
Rethink extension negotiation #614
Closed
@gr0uch

Description

@gr0uch

I had a bad feeling about implementing the official extensions, or really any extensions at all to the spec, since extensions may completely break the base specification.

In a comment regarding content negotiation, Roy Fielding writes:

it is a waste of time to negotiate on the basis of obscure parameters while using a meaningless media type like vnd.api+json. Define separate media types (preferably with meaning) if you think the differences will matter to a client. You will note that the examples in the spec are artificial, since there isn't any real-world need to negotiate on parameter names.

"meaningless media type like vnd.api+json"... ouch ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0