Error when updating

JSON API requires use of the JSON API media type () for exchanging data.The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in RFC 2119 [RFC2119].A resource object MUST contain at least the following top-level members: member is not required when the resource object originates at the client and represents a new resource to be created on the server.

JSON API documents are defined in Java Script Object Notation (JSON) [RFC7159].Although the same media type is used for both request and response documents, certain aspects are only applicable to one or the other. Unless otherwise noted, objects defined by this specification MUST NOT contain any additional members.Client and server implementations MUST ignore members not recognized by this specification.The only exception to the full linkage requirement is when relationship fields that would otherwise contain linkage data are excluded via sparse fieldsets.To enable an easy mapping of member names to URLs, it is RECOMMENDED that member names use only non-reserved, URL safe characters specified in RFC 3986.

Leave a Reply