<div dir="ltr"><div>Recently with pulp_ansible, users were interested in using pagination with LimitOffsetPagination [0]. Pulp currently defaults to PageNumberPagination. I looked at our current DRF defaults, and I noticed two things.</div><div><br></div><div>1. We default to the not-as-common PageNumberPagination based on examples in the drf docs.<br></div><div>2. We customize it here [1] in various ways.</div><div><br></div><div>Can someone help me remember why these pagination style choices were made or where the requirements came from?</div><div>Would our bindings work with a LimitOffsetPagination style?</div><div>What use cases drove the use and customization in this area?<br></div><div><br></div><div>Also, @katello how would a pagination style change (like switching to LimitOffsetPagination) affect you?<br></div><div><br></div><div>Thanks for any info you can provide. Maybe what we have right now is just what we need, but I'm not sure.<br></div><div><br></div><div>-Brian<br></div><div><br></div><div>[0]: <a href="https://www.django-rest-framework.org/api-guide/pagination/#setting-the-pagination-style">https://www.django-rest-framework.org/api-guide/pagination/#setting-the-pagination-style</a></div><div>[1]: <a href="https://github.com/pulp/pulpcore/blob/master/pulpcore/app/pagination.py">https://github.com/pulp/pulpcore/blob/master/pulpcore/app/pagination.py</a></div></div>