Limit results when querying Mirth REST PI #6396
Replies: 2 comments 4 replies
-
Curious, why? I would normally get all channel IDs then iterate. |
Beta Was this translation helpful? Give feedback.
-
For the stated problem of large payloads (as opposed to a limit) - Would this method help? It does not have a limit, however it is built to just return a list of channel IDs and names instead of entire channel objects. https://github.com/search?q=repo%3Anextgenhealthcare%2Fconnect+getchannelids&type=code will show you what various
For the stated use case I would suggest looking at the odo Migrator, MirthSync, and the BrightCode Git Plugin. Some of those are open source and may have similar calls you can learn from even if you do not want to use the whole tool. |
Beta Was this translation helpful? Give feedback.
-
I expected to be able to limit results using something along the lines of:
https://.../api/channels&limit=<my_limit>
But this doesn't seem to work. Am I doing it wrong? Is there a known workaround?
Beta Was this translation helpful? Give feedback.
All reactions