My JSON store (django rest framework) returns keys for \"count\", \"next\", \"previous\", and \"results\".
\"count\" is the number of rows available.
\"next\" is
It looks like you're trying to use this service with dstore/Rest
, but that has some specific expectations of the server request and response:
items
property whose value is an array of itemstotal
property in the objectContent-Range
header (in the format X-Y/Z items
, where the Z
is of primary importance)rangeStartParam
and rangeCountParam
)useRangeHeaders: true
)limit
GET parameter in the format limit(count,start)
(or just limit(count)
if start
is 0)If your server can't fulfill these requirements (e.g. it sounds like it has quite different requirements regarding ranging, since it uses pages instead), you're going to need to think about extending/implementing a custom store.