- π³π±Netherlands bbrala Netherlands
1.1 is out, this is indeed currently offspec. :(
Currently, Drupal sets an error.source.pointer
value in the error response object to indicate missing data. In json:api 1.1, this changes slightly to require that pointers actually reference elements of the request object, so we can't point to a missing element (e.g., attributes.my_field) directly. Rather, we'd point to either data
or data.attributes,
and then add a missing.key element to the error specifying which key(s) were not present.
JSON:API 1.1 has been released. The error object now has the following definnition:
Error objects provide additional information about problems encountered while performing an operation. Error objects MUST be returned as an array keyed by errors in the top level of a JSON:API document.
An error object MAY have the following members, and MUST contain at least one of:
Active
11.0 π₯
Last updated
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
1.1 is out, this is indeed currently offspec. :(