Skip to content
This repository has been archived by the owner on Sep 11, 2019. It is now read-only.

Customize api for paging #31

Closed
quan2nd opened this issue Jun 8, 2017 · 3 comments
Closed

Customize api for paging #31

quan2nd opened this issue Jun 8, 2017 · 3 comments

Comments

@quan2nd
Copy link

quan2nd commented Jun 8, 2017

Hi Ripple Team,
I have a problem, that I have a medical device to automatically push vitalsigns information up RippleOsi, so a lot of data is posted up.
When I call api /api/patients/:idpatient/vitalsigns to get the data, the data returns very slowly and many records.
So I want to customize the api to reduce load and paging, for example /api/patients/:idpatient/vitalsigns?start=5&limit=10
Then the result returned 10 records and started from order = 5, but I can not do it.
Also, I also want to customize for the other api: patients, procedures, events ....
Can the Ripple Team be customized to help me or have any other solution?

Thanks and Best Regards.
Quan Nguyen from ThinkLabs-VN

@tony-shannon
Copy link
Contributor

tony-shannon commented Jun 23, 2017

thanks @maxcda101
Sorry for delay on the reply here, we've been busy launching websites etc
See http://ripple.foundation/ & links to sites for our Documentation plus PulseTIle, QEWD, EtherCIS & related documentation

We can offer to help but you would need to be willing/able to "sponsor" this work at the moment, its not a priority for us.

If you prefer to review the related code/documentation for this area and suggest an approach, we may be able to guide you as to a solution you can craft yourself and then submit related pull request.

Hope that helps?
Tony

@quan2nd
Copy link
Author

quan2nd commented Jun 26, 2017

thanks Tony

On this issue I have resolved already.
But you should customize the api retrieve data from ethercis, when the data up very large will cause the system to slow down.

Quan Nguyen from ThinkLabs-VN

@tony-shannon
Copy link
Contributor

tony-shannon commented Jun 26, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants