Can explain mechanism of pagination

​Can explain the mechanism of pagination at least.json user_actions.json and so on
is there like page approach ( ?page=1, page=2 ) or with offset only ( offset=0, offset=30, offset=60 ) is and it’s global ( topics, replies, categories ..) for all modules or at some modules only, and is there any wat to control page size to control how many records got for each page ??

Using the example of /latest.json, there are pages to this. IIRC there are 30 topics per page, and I don’t think offset works.