cht-core icon indicating copy to clipboard operation
cht-core copied to clipboard

Add functionality of getting places with pagination in cht-datasource

Open sugat009 opened this issue 7 months ago • 0 comments

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 is 100
  • skip - default value is 0

Describe alternatives you've considered

Additional context

sugat009 avatar Jul 03 '24 10:07 sugat009