Reading
Read a page
Take limit rows, after skipping offset of them.
limit=2limit=2&offset=2A read without limit answers at most 50 rows. A limit above 1000 is refused with limit_exceeded, never quietly lowered, so a client always knows what it got.
Combine paging with order, so the pages follow a sequence you chose.
Examples
/todos?select=id,name&order=id&limit=2Asking the database...
/todos?select=id,name&order=id&limit=2&offset=2Asking the database...
/todos?limit=1001Asking the database...