Closed ginettev closed 2 years ago
@ash1425 WRT API parameter names there are some hints in the guidelines, eg. see https://docs.italia.it/italia/piano-triennale-ict/lg-modellointeroperabilita-docs/it/bozza/doc/04_Raccomandazioni%20di%20implementazione/05_raccomandazioni-tecniche-per-rest/02_progettazione-e-naming.html?highlight=offset
limit
offset
cursor
sort
In this case, having the opportunity to review values using a yaml spec would be great :)
I was guessing whether in this use case it could be useful to implement cursor
pagination...
@ioggstream We have changed the code to use snake case for the request params now.
We have added page based pagination instead of cursor based pagination as it is easily supported by Elasticsearch. Also, specifying the page number and size seemed easier for the developers using the APIs too. We can discuss on this further if needed.
Co-authored-by: Keerthana keerthana.r@thoughtworks.com