AdminAPI: paginate by max_id instead of page number
On a few admin API endpoints, like /api/v1/pleroma/admin/moderation_log
, the results are paginated by a "page number" field (eg 1, 2, 3...)
This doesn't make a lot of sense for a frontend, as the results could change in between paginaging, and it makes it difficult to paginate after caching the results.
It makes more sense for the frontend to pass the ID number of the last entry it has, to get all the results after that. This is how it works throughout the MastoAPI.