cht-core
cht-core copied to clipboard
Create API endpoint for getting places with types
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).
Describe the solution you'd like
HTTP GET api/v1/place?type=clinic
Endpoints should also accept the following query parameters to allow for paging through the data:
-
limit
- default is100
-
skip
- default0
Describe alternatives you've considered
Additional context