Pagination

(Difference between revisions)
Jump to: navigation, search
(Created page with "Large resources lists require pagination. Pagination is controlled by two query parameters, '''marker''' and '''limit'''. They are optional and if not given, the first page w...")
 
Line 8: Line 8:
 
;limit
 
;limit
 
: ''Optional'' The maximum number of resources that will be returned by the the resource list.
 
: ''Optional'' The maximum number of resources that will be returned by the the resource list.
 +
 +
[[Category:API]]
  
 
<!--  THIS CODE ENABLES DISQUS COMMENTS ON THE PAGE - DELETE TO DISABLE COMMENTING-->
 
<!--  THIS CODE ENABLES DISQUS COMMENTS ON THE PAGE - DELETE TO DISABLE COMMENTING-->

Revision as of 14:29, 14 December 2012

Large resources lists require pagination. Pagination is controlled by two query parameters, marker and limit. They are optional and if not given, the first page will be returned.

GET /<url>?marker=markerId&limit=pageSize

marker
Optional The id of the last resource on the previous page. All resources greater than marker up to limit will be returned.
limit
Optional The maximum number of resources that will be returned by the the resource list.


blog comments powered by Disqus


Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox