cht-core
cht-core copied to clipboard
Add functionality of getting places with pagination in cht-datasource
Is your feature request related to a problem? Please describe.
This feature is part of a bigger feature of the creation of API endpoints for getting contacts by type. (https://github.com/medic/cht-core/issues/9193)
The target of this feature is to have the functionality of getting places using cht-datasource
with the option of pagination.
Describe the solution you'd like
Place.v1.get(limit, skip);
As mentioned in the parent ticket:
-
limit
- default value is100
-
skip
- default value is0
Describe alternatives you've considered
Additional context