constbuildPageUrl=(page,limit=25)=>{constoffset=(page-1)*limitreturn`/api/products/?limit=${limit}&offset=${offset}`}// Next pageconstnextUrl=buildPageUrl(pageInfo.currentPage+1)// Previous pageconstprevUrl=buildPageUrl(pageInfo.currentPage-1)
# Small pages for mobileGET/api/products/?limit=10# Table view with standard page sizeGET/api/products/?limit=25# Bulk operationsGET/api/products/?limit=1000# Combined with searchGET/api/products/?limit=20&offset=40X-Filter:["name","contains","laptop"]