Skip to content

Contradiction on document top level members #257

@damienalexandre

Description

@damienalexandre

This section (http://jsonapi.org/format/#document-structure-top-level) tell:

A document's top level MAY also have the following members: "meta", "links", "linked"
No other members should be present at the top level of a document.

But the errors node (http://jsonapi.org/format/#errors) is missing from this authorized list:

Error objects SHOULD be returned as a collection keyed by "errors" in the top level of a JSON API document

Also, adding a full example of response with an error could be nice.

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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy