Closed
Description
https://jsonapi.org/format/#fetching-resources-responses
A server MUST respond to a successful request to fetch an individual resource with a resource object or null provided as the response document’s primary data.
null is only an appropriate response when the requested URL is one that might correspond to a single resource, but doesn’t currently.
Note: Consider, for example, a request to fetch a to-one related resource link. This request would respond with null when the relationship is empty (such that the link is corresponding to no resources) but with the single related resource’s resource object otherwise.