[Koha-bugs] [Bug 19196] New: Add pagination helpers

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 29 15:31:28 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19196

            Bug ID: 19196
           Summary: Add pagination helpers
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: tomascohen at gmail.com
        QA Contact: testopia at bugs.koha-community.org

In order to aid UI devs work on top of the REST api, we need to provide
pagination information along with the responses.

It was discussed on the mailing list that following RFC5988 [1] proposal for
Link headers was desirable.

And also adding a header telling the total objects count would be desirable, in
the lines of this link [2].



[1] https://tools.ietf.org/html/rfc5988#section-6
[2]
http://www.vinaysahni.com/best-practices-for-a-pragmatic-restful-api#pagination

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list