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.

4

Following this thread closely. We are about to face the exact same decision and the replies here are gold.

Thanks for writing this up. Bookmarking it — the kind of thing I will want to reference again in a month.

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.

This is the answer I wish I had found six months ago. Would have saved me a weekend of trial and error.

Solid breakdown. The only thing I would add is to back up before making the change — better safe than sorry.