[Pulp-list] pagination design

Jason L Connor jconnor at redhat.com
Fri Mar 11 20:04:25 UTC 2011


On Fri, 2011-03-11 at 14:47 -0500, Jay Dobies wrote:
> Looks good. One question on deferred fields. Is that basically a way
> of
> limiting what data comes back per thing requested? Can you show an
> example of what that looks like? There are examples for the start and
> max (which look good) but I'm curious to see how the deferred fields
> would look.
> 

Thank you. A deferred fields request would look something like this:

GET /repositories/<some id>/packages/?start=x&max=y

This request would get a range of the package ids associated with the
repository <some id>

So very similar to the GET request on a collection.

-- 
Jason L Connor
linear on freenode #pulp
http://pulpproject.org/
RHCE: 805010912355231
GPG Fingerprint: 2048R/CC4ED7C1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20110311/a3b779bc/attachment.sig>


More information about the Pulp-list mailing list