Add pagination info on API posts response