Brandon Shelley created USERGRID-999:
----------------------------------------

             Summary: Support backward pagination
                 Key: USERGRID-999
                 URL: https://issues.apache.org/jira/browse/USERGRID-999
             Project: Usergrid
          Issue Type: Story
          Components: Stack
            Reporter: Brandon Shelley


Currently only 'cursor' is supported for forward navigation (page 1 leads to 
page 2, etc.). Supporting a backward pagination cursor as well as forward would 
allow for more consistent backward pagination (and would eliminate the hard 
requirement for clients to maintain an array of cursors or cache pages). 

Example:

{code}{"cursor": {"next": "ab8723cdf7798af9d", "prev": 
"dbe07cdf66bcef56"}}{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to