Pagination contract for list endpoints

Sofia Romano Sofia Romano 3 months ago Resolved

What's the pagination contract on list endpoints — page/per_page query args, and are total counts returned in headers? Want to build a correct paginator the first time.

0

Yes. The recommended approach is to use Access Rules on the space: set the rule type to Membership, pick the level, and set the space visibility to Private. Members at that level and above see it automatically; everyone else does not.

Tried this on a staging copy first and it behaved exactly as described. Confident enough to roll it to production now.

We ran into the same situation last quarter. What worked for us was starting small and only adding complexity when a real need showed up.

I respectfully disagree on one detail. In my setup the opposite held true, though I suspect it comes down to community size.

Great point. I had not considered the angle you raised in the second paragraph — it reframes the whole thing for me.

Great point. I had not considered the angle you raised in the second paragraph — it reframes the whole thing for me.

This deserves more votes. It is a small change with an outsized impact on day-to-day use.