[rest-practices] Pagination API

Kent Watsen kwatsen at juniper.net
Thu Jul 22 20:08:12 UTC 2010


ABNF Syntax:

  "paging=(" ["start=" 1*DIGIT ","] "limit=" 1*DIGIT ")"

Notes:

    * Returns at most "limit" items, starting with the "start" item in the collection
    * "0" is the default <start> value used when none is specified
    * Paging is over live data; elements may shift over the course of multiple requests

Examples:

    * paging=(limit=25)
    * paging=(start=0,limit=25)

K.


-----Original Message-----
From: rest-practices-bounces at redhat.com [mailto:rest-practices-bounces at redhat.com] On Behalf Of Bryan Kearney
Sent: Thursday, July 22, 2010 2:43 PM
To: rest-practices
Subject: [rest-practices] Pagination API

We are starting to look at adding pagination to our collection. I wanted 
to know if anyone has a set of query parameters they have already made 
use of to overlay pagination onto an api.

Thanks!

-- bk

_______________________________________________
rest-practices mailing list
rest-practices at redhat.com
https://www.redhat.com/mailman/listinfo/rest-practices




More information about the rest-practices mailing list