JSON API v3.2.0
NOTE FOR v3.2.0 !
This version has a backward compatiblity issue if your code expects a 400 Bad Request error in empty listings. This is not according the JSONAPI specification:
200 OK
A server MUST respond to a successful request to fetch an individual resource or resource collection with a 200 OK response.A server MUST respond to a successful request to fetch a resource collection with an array of resource objects or an empty array ([]) as the response document’s primary data.
Source http://jsonapi.org/format/#fetching-resources-responses
In v3.2.0, this extension now returns a 200 OK and an empty array instead.