Closed triplingual closed 4 years ago
Honestly, I haven't been able to get limit and offset to work
Basically, limit
and offset
are designed for use in the PHP-side API endpoint, not the REST: the browse actions and the API "search" operation both automatically imply use of the pagination system, and when that's being used, limit
and offset
are ignored.
I agree that we should include these default values in the documentation.
One minor note on the defaults you've listed: the default per page limit is controlled by the global "results per page" setting, so it can differ from installation to installation.
Changed per_page
default column value from 25 to "uses global 'results per page' setting".
Is this a brittle or undesirable link? I don't have a sense of whether you're trying to keep dev and end-user doco wholly separate.
I don't think there's any problem linking between the developer and user documentation like that.
Honestly, I haven't been able to get
limit
andoffset
to work, but otherwise I think this is accurate.