<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[&#x2F;data-sources API - Limits results to 100 items]]></title><description><![CDATA[<p dir="auto">When running the /data-sources GET via the API the total reports the actual number of data sources we have, but the items array is limited to 100 data sources.</p>
<p dir="auto">Is there a "limit" parameter or paging option that I'm missing?</p>
<p dir="auto">How can I get all of the data sources returned to me via the API?</p>
<p dir="auto">Thanks,<br />
Chad</p>
]]></description><link>https://forum.mango-os.com/topic/5175/data-sources-api-limits-results-to-100-items</link><generator>RSS for Node</generator><lastBuildDate>Sat, 08 Aug 2026 04:26:43 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/5175.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 05 May 2021 13:27:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to &#x2F;data-sources API - Limits results to 100 items on Mon, 10 May 2021 15:59:24 GMT]]></title><description><![CDATA[<p dir="auto">Bizarre, help docs used to mention using -1 as no limit. Glad you have got it sorted!</p>
<p dir="auto">Fox</p>
]]></description><link>https://forum.mango-os.com/post/26620</link><guid isPermaLink="true">https://forum.mango-os.com/post/26620</guid><dc:creator><![CDATA[MattFox]]></dc:creator><pubDate>Mon, 10 May 2021 15:59:24 GMT</pubDate></item><item><title><![CDATA[Reply to &#x2F;data-sources API - Limits results to 100 items on Mon, 10 May 2021 15:36:19 GMT]]></title><description><![CDATA[<p dir="auto">Thanks once again, Fox, for the help!</p>
<p dir="auto">It took us a little bit to figure out the syntax, but got it working: /rest/v2/data-sources?limit(1000)</p>
<p dir="auto">We tried to use -1, but that created a 500 error.</p>
<pre><code>Could not write JSON: PreparedStatementCallback; bad SQL grammar [select `ds`.`id`, `ds`.`xid`, `ds`.`name`, `ds`.`dataSourceType`, `ds`.`data`, `ds`.`editPermission` from dataSources AS ds limit ?]
</code></pre>
<p dir="auto">Not a big deal for our purposes though.</p>
]]></description><link>https://forum.mango-os.com/post/26619</link><guid isPermaLink="true">https://forum.mango-os.com/post/26619</guid><dc:creator><![CDATA[cmusselm]]></dc:creator><pubDate>Mon, 10 May 2021 15:36:19 GMT</pubDate></item><item><title><![CDATA[Reply to &#x2F;data-sources API - Limits results to 100 items on Wed, 05 May 2021 19:13:20 GMT]]></title><description><![CDATA[<p dir="auto">Yes, limit is set to 100 by default. Same goes for datapoints. Try limit=-1 as a parameter. I believe will tell it to pull all.</p>
<p dir="auto">Use swagger to test your api calls.</p>
<p dir="auto">Fox</p>
]]></description><link>https://forum.mango-os.com/post/26615</link><guid isPermaLink="true">https://forum.mango-os.com/post/26615</guid><dc:creator><![CDATA[MattFox]]></dc:creator><pubDate>Wed, 05 May 2021 19:13:20 GMT</pubDate></item></channel></rss>