<div dir="ltr">So lets work on the API WG guideline first, looking forward to get it done sooner, pagination is actually very useful in production deployment.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 5, 2015 at 11:16 PM, Everett Toews <span dir="ltr"><<a href="mailto:everett.toews@rackspace.com" target="_blank">everett.toews@rackspace.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word"><span class="">
On Nov 5, 2015, at 5:44 AM, John Garbutt <<a href="mailto:john@johngarbutt.com" target="_blank">john@johngarbutt.com</a>> wrote:<br>
</span><div><span class="">
<blockquote type="cite"><br>
<div><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">On
 5 November 2015 at 09:46, Richard Jones <</span><a href="mailto:r1chardj0n3s@gmail.com" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">r1chardj0n3s@gmail.com</a><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">>
 wrote:</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<blockquote type="cite" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
As a consumer of such APIs on the Horizon side, I'm all for consistency in<br>
pagination, and more of it, so yes please!<br>
<br>
On 5 November 2015 at 13:24, Tony Breeds <<a href="mailto:tony@bakeyournoodle.com" target="_blank">tony@bakeyournoodle.com</a>> wrote:<br>
<blockquote type="cite"><br>
On Thu, Nov 05, 2015 at 01:09:36PM +1100, Tony Breeds wrote:<br>
<blockquote type="cite">Hi All,<br>
   Around the middle of October a spec [1] was uploaded to add<br>
pagination<br>
support to the os-hypervisors API.  While I recognize the use case it<br>
seemed<br>
like adding another pagination implementation wasn't an awesome idea.<br>
<br>
Today I see 3 more requests to add pagination to APIs [2]<br>
<br>
Perhaps I'm over thinking it but should we do something more strategic<br>
rather<br>
than scattering "add pagination here".<br>
</blockquote>
</blockquote>
</blockquote>
<br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">+1</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">The
 plan, as I understand it, is to first finish off this API WG guideline:</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<a href="http://specs.openstack.org/openstack/api-wg/guidelines/pagination_filter_sort.html" target="_blank">http://specs.openstack.org/openstack/api-wg/guidelines/pagination_filter_sort.html</a><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
</div>
</blockquote>
<div><br>
</div>
<div><br>
</div>
</span><div>An attempt at an API guideline for pagination is here [1] but hasn't received any updates in over a month, which can be understandable as sometimes other work takes precedence.</div>
<div><br>
</div>
<div>Perhaps we can get that guideline moving again?</div>
<div><br>
</div>
<div>If it's becoming difficult to reach agreement on that approach in the guideline, it could be worthwhile to take a step back and do some analysis on the way pagination is done in the more established APIs. I've found that such analysis can be very helpful
 as you're moving forward from a known state.</div>
<div><br>
</div>
<div>The place for that analysis is in Current Design [2] by filling in the Pagination page. You can find many examples of such analysis from the Current Design like Sorting [3].</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Everett</div>
<div><br>
</div>
<div><br>
</div>
<div>[1] <a href="https://review.openstack.org/#/c/190743/" target="_blank">https://review.openstack.org/#/c/190743/</a></div>
<div>[2] <a href="https://wiki.openstack.org/wiki/API_Working_Group/Current_Design" target="_blank">https://wiki.openstack.org/wiki/API_Working_Group/Current_Design</a></div>
<div>[3] <a href="https://wiki.openstack.org/wiki/API_Working_Group/Current_Design/Sorting" target="_blank">https://wiki.openstack.org/wiki/API_Working_Group/Current_Design/Sorting</a></div>
<div><br>
</div>
</div>
</div>

<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>