Pagination contract for list endpoints

Sofia Romano Sofia Romano 2 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.

3

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

For what it is worth, the same approach works with the PMPro adapter — the membership side is identical from here.

Appreciate the clear steps. The dry-run tip in particular saved me from a mistake I would not have caught otherwise.

For what it is worth, the same approach works with the PMPro adapter — the membership side is identical from here.

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.