Pagination

(Difference between revisions)
Jump to: navigation, search
Line 9: Line 9:
 
: ''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]]
+
[[Category:Hostway API]]
 +
[[Category:FlexCloud Server API]]
 +
[[Category:Dynamic DNS 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 16:05, 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