<div dir="ltr">Hi Thomas,<div><br></div><div>here are my thoughts on this topic.</div><div><br></div><div>I understand that it isn't nice to parse the header values in HTTP responses for pages. But I think it is the way everybody does it. (Doesn't mean, we have to obey to this.)</div><div><br></div><div>The docker registry for example has a similar approach when browsing the docker repositories: <a href="https://docs.docker.com/registry/spec/api/#/pagination">https://docs.docker.com/registry/spec/api/#/pagination</a></div><div><br></div><div>The downside is that you cannot jump to the page you want immediately unless you do some calculation.</div><div><br></div><div>The number of pages in a live system can change while you're browsing through the work items, because others might add or remove work items. This should be considered when calculating the amount of pages.</div><div><br></div><div>Konrad</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 4, 2016 at 8:26 AM, Michael Kleinhenz <span dir="ltr"><<a href="mailto:kleinhenz@redhat.com" target="_blank">kleinhenz@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">>> The client then must compute how many pages there are and the size of the<br>
>> pages by parsing the uri's.<br>
><br>
> Do we have a requirement for knowing the exact number of pages ?<br>
<br>
</span>Only if UX decides for "paging" view instead of scrolling with<br>
lazy-loading. But even then, should not be a problem.<br>
<br>
-- Michael<br>
<br>
--<br>
Michael Kleinhenz<br>
Principal Software Engineer<br>
<br>
Red Hat Deutschland GmbH<br>
Werner-von-Siemens-Ring 14<br>
85630 Grasbrunn<br>
Germany<br>
<br>
RED HAT | TRIED. TESTED. TRUSTED.<br>
Red Hat GmbH, <a href="http://www.de.redhat.com" rel="noreferrer" target="_blank">www.de.redhat.com</a>,<br>
Registered seat: Grasbrunn, Commercial register: Amtsgericht München,<br>
HRB 153243,<br>
Managing Directors: Paul Argiry, Charles Cachera, Michael Cunningham,<br>
Michael O'Neill<br>
<div class="HOEnZb"><div class="h5"><br>
______________________________<wbr>_________________<br>
almighty-public mailing list<br>
<a href="mailto:almighty-public@redhat.com">almighty-public@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/almighty-public" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/almighty-<wbr>public</a><br>
</div></div></blockquote></div><br></div>