<?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[REST - Reversed query?]]></title><description><![CDATA[<p dir="auto">I use the REST API to record my backup status to Grafana, and have noticed it just change after updating - it's an older one I use so haven't done so in a while.</p>
<p dir="auto">I normally run the following query:</p>
<p dir="auto"><code>https://my-xo.mydomain.local/rest/v0/backups/logs?fields=id,status&amp;filter=MY%20VM%20Deltas&amp;limit=7</code></p>
<p dir="auto">This used to return the most recent backups, but now it seems to be returning the oldest. Is there a way I can reverse the query (e.g. <code>order by id desc</code> in some form). The oldest backup is <code>0</code> while my newest backup is <code>161</code> - I don't know if this was always the case? It could just be something I have done outside of XO.</p>
<p dir="auto">If it's not possible, is there a limitation or is it something that could be easily implemented?</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://xcp-ng.org/forum/topic/12145/rest-reversed-query</link><generator>RSS for Node</generator><lastBuildDate>Tue, 05 May 2026 11:36:22 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/12145.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 05 May 2026 09:12:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to REST - Reversed query? on Tue, 05 May 2026 10:51:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/dustyarmstrong" aria-label="Profile: DustyArmstrong">@<bdi>DustyArmstrong</bdi></a> for now the rest api doesn't support server side sorting ( we don't have the memory budget to do this )</p>
<p dir="auto">it will be improved in the future</p>
]]></description><link>https://xcp-ng.org/forum/post/105032</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/105032</guid><dc:creator><![CDATA[florent]]></dc:creator><pubDate>Tue, 05 May 2026 10:51:41 GMT</pubDate></item></channel></rss>