-
-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add functionality of getting people with pagination in cht-datasource #9237
Comments
@sugat009 Thinking some more about API naming here (along with the iterator function, I propose these function signatures: const getPage = (limit = 100, skip = 0) => Promise<Person.v1.Person[]>
const getAll = () => AsyncGenerator<Person.v1.Person, void> Under the hood, |
@jkuester Of course, that sounds good. |
I am removing this from the 4.11 milestone since it is covered already by #9241. |
Is your feature request related to a problem? Please describe.
This feature is part of the bigger feature of the creation of API endpoints for getting contacts by type. (#9193)
The target of this feature is to have the functionality of getting people using
cht-datasource
with the option of pagination.Describe the solution you'd like
As mentioned in the parent ticket:
limit
- default value is100
skip
- default value is0
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: