PagingStrategy syntax for Laravel-style or length-aware style pagination

PagingStrategy syntax for Laravel-style or length-aware style pagination

We are creating a rest connection to consume an API that uses Laravel-style (length-aware) pagination.

The request URL should be formatted as follows:

  1. GET /fooObject?page=2&count=200


The response will include metadata about other pages 

  1. {
  2.   "data": [ /* 200 foo objects here */ ],
  3.   "links": {
  4.     "first": "...?page=1",
  5.     "last": "...?page=10",
  6.     "prev": "...?page=1",
  7.     "next": "...?page=3"
  8.   },
  9.   "meta": {
  10.     "current_page": 2,
  11.     "from": 201,
  12.     "to": 400,
  13.     "per_page": 200,
  14.     "total": 1850,
  15.     "last_page": 10
  16.   }
  17. }


What syntax should I use in my rest connection metadata for this paging strategy?