Pagination

(Difference between revisions)
Jump to: navigation, search
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.
 +
 +
== See also ==
 +
* [[Common Features]]
  
 
[[Category:Hostway API]]
 
[[Category:Hostway API]]
[[Category:FlexCloud Server API]]
 
[[Category:Dynamic DNS API]]
 
 
<!--  THIS CODE ENABLES DISQUS COMMENTS ON THE PAGE - DELETE TO DISABLE COMMENTING-->
 
 
{{#widget:DISQUS
 
|id=hostway
 
|uniqid={{PAGENAME}}
 
|url={{fullurl:{{PAGENAME}}}}
 
}}
 
 
<!--  ########################################################################### -->
 

Revision as of 16:20, 5 February 2013

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.

See also

Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox