Pagination contract for list endpoints

SO Sofia Romano há 2 meses Resolvido

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

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

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.

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

One caveat for larger communities: keep an eye on the indexes. At a few thousand rows the difference is night and day.

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

Strong agree. Good defaults beat a wall of toggles every single time.