If updating

Members of the attributes object (“attributes”) represent information about the resource object in which it’s defined. Complex data structures involving JSON objects and arrays are allowed as attribute values.However, any object that constitutes or is contained in an attribute MUST NOT contain a key MUST be an object (a “relationships object”).A server MUST prepare responses, and a client MUST interpret responses, in accordance with parameter MUST be a comma-separated (U 002C COMMA, “,”) list of relationship paths.A relationship path is a dot-separated (U 002E FULL-STOP, “.”) list of relationship names.If a client requests a restricted set of fields for a given resource type, an endpoint MUST NOT include additional fields in resource objects of that type in its response.Note: This section applies to any endpoint that responds with resources as primary or included data, regardless of the request type. JSON API is a specification for how a client should request that resources be fetched or modified, and how a server should respond to those requests.

These resource identifier objects could either be primary data or represent resource linkage contained within primary or included resources.

Clients MUST send all JSON API data in request documents with the header .

JSON API documents are defined in Java Script Object Notation (JSON) [RFC7159].

If a server is unable to identify a relationship path or does not support inclusion of resources from a path, it MUST respond with 400 Bad Request.

Note: Because compound documents require full linkage (except when relationship linkage is excluded by sparse fieldsets), intermediate resources in a multi-part path must be returned along with the leaf nodes.

Search for if updating:

if updating-1if updating-48

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “if updating”