GlobalNamesArchitecture / gnresolver

MIT License
0 stars 0 forks source link

when name_resolver resource is searched pagination parameters are not global. #102

Open dimus opened 7 years ago

dimus commented 7 years ago

page and perPage are returned inside of results for every name. They should be global parameters.

alexander-myltsev commented 7 years ago

So, there is additional level of nested array then:

{
  "page": 1,
  "per_page": 1000,
  "items": [{
    "total": 1,
    "matches": []
  }, {
    "total": 2,
    "matches": []
  }]
}

How would we name items then?