<?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 API]]></title><description><![CDATA[Everything related to Xen Orchestra&#x27;s REST API]]></description><link>https://xcp-ng.org/forum/category/18</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 05:55:25 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/category/18.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 27 Mar 2026 00:35:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Feedback from Automation Project (vCPUs, VDI rename, boot order)]]></title><description><![CDATA[@olivierlambert &amp; @mathieura thanks for the speedy response.  Duly noted, very much appreciated.
]]></description><link>https://xcp-ng.org/forum/topic/12013/feedback-from-automation-project-vcpus-vdi-rename-boot-order</link><guid isPermaLink="true">https://xcp-ng.org/forum/topic/12013/feedback-from-automation-project-vcpus-vdi-rename-boot-order</guid><dc:creator><![CDATA[kagbasi-wgsdac]]></dc:creator><pubDate>Fri, 27 Mar 2026 00:35:58 GMT</pubDate></item><item><title><![CDATA[REQUEST: Add PATCH &#x2F;vms&#x2F;{id} for updating VM properties (name_description, name_label)]]></title><description><![CDATA[@MathieuRA Thanks for the quick response and for flagging it, really appreciate it! No rush at all. Thank you for all the hard work being put into the REST API, it's been fantastic.
]]></description><link>https://xcp-ng.org/forum/topic/11970/request-add-patch-vms-id-for-updating-vm-properties-name_description-name_label</link><guid isPermaLink="true">https://xcp-ng.org/forum/topic/11970/request-add-patch-vms-id-for-updating-vm-properties-name_description-name_label</guid><dc:creator><![CDATA[14wkinnersley]]></dc:creator><pubDate>Mon, 16 Mar 2026 02:25:05 GMT</pubDate></item><item><title><![CDATA[IPMI&#x2F; IDRAC (XAPI)]]></title><description><![CDATA[@gduperrey Worked swell, thanks 
]]></description><link>https://xcp-ng.org/forum/topic/11965/ipmi-idrac-xapi</link><guid isPermaLink="true">https://xcp-ng.org/forum/topic/11965/ipmi-idrac-xapi</guid><dc:creator><![CDATA[kawreh]]></dc:creator><pubDate>Fri, 13 Mar 2026 10:45:15 GMT</pubDate></item><item><title><![CDATA[Unable to define count of CPUs during VM create]]></title><description><![CDATA[@MathieuRA
Glad to see this finally fixed.  I brought this up a while ago...
https://xcp-ng.org/forum/post/102102
]]></description><link>https://xcp-ng.org/forum/topic/11954/unable-to-define-count-of-cpus-during-vm-create</link><guid isPermaLink="true">https://xcp-ng.org/forum/topic/11954/unable-to-define-count-of-cpus-during-vm-create</guid><dc:creator><![CDATA[acebmxer]]></dc:creator><pubDate>Wed, 11 Mar 2026 09:08:56 GMT</pubDate></item><item><title><![CDATA[Automation of all CURD operations]]></title><description><![CDATA[
@rama said:
@olivierlambert thank you. but is it possible to keep tracking all the CURD operation like we have in terraform. but currently MCP have only Read tasks.
Like if some new interns in my lab don't know about this and in this agentic framework if he/she need a VM's, delete or update it can be done very quick. it will save many hours.
I hope this will be available in future or if you wish to do tell me how far it is.

The plugin MCP Server is read only by design to keep using it safe, to have an MCP for reading and another for writing is best practice.
If you desire to have a separate MCP server for the writing actions, feel free to suggest that in the feedback portal. You can even develop your own MCP server, which makes calls to the write side of the XO REST API.
https://modelcontextprotocol.io/
]]></description><link>https://xcp-ng.org/forum/topic/11922/automation-of-all-curd-operations</link><guid isPermaLink="true">https://xcp-ng.org/forum/topic/11922/automation-of-all-curd-operations</guid><dc:creator><![CDATA[john.c]]></dc:creator><pubDate>Mon, 02 Mar 2026 11:38:15 GMT</pubDate></item><item><title><![CDATA[API authentication token permissions]]></title><description><![CDATA[I know it's actively worked as we speak (ACLv2). So I would say this year at least  It's in our (soon published) roadmap in the "Next" section, just after the "now".
]]></description><link>https://xcp-ng.org/forum/topic/11906/api-authentication-token-permissions</link><guid isPermaLink="true">https://xcp-ng.org/forum/topic/11906/api-authentication-token-permissions</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Wed, 25 Feb 2026 08:57:58 GMT</pubDate></item><item><title><![CDATA[REST API: Attaching an existing .vhd to a stopped VM]]></title><description><![CDATA[@Danp alright, thanks. I'll give that a try.
]]></description><link>https://xcp-ng.org/forum/topic/11893/rest-api-attaching-an-existing-.vhd-to-a-stopped-vm</link><guid isPermaLink="true">https://xcp-ng.org/forum/topic/11893/rest-api-attaching-an-existing-.vhd-to-a-stopped-vm</guid><dc:creator><![CDATA[Bytevenidos]]></dc:creator><pubDate>Sat, 21 Feb 2026 21:27:47 GMT</pubDate></item><item><title><![CDATA[filter for custom field]]></title><description><![CDATA[@Pilow tags can work and the path to them is much more succinct. Thanks!
]]></description><link>https://xcp-ng.org/forum/topic/11826/filter-for-custom-field</link><guid isPermaLink="true">https://xcp-ng.org/forum/topic/11826/filter-for-custom-field</guid><dc:creator><![CDATA[randyrue]]></dc:creator><pubDate>Mon, 02 Feb 2026 22:41:46 GMT</pubDate></item><item><title><![CDATA[API Fetching a list of users with OTP activated]]></title><description><![CDATA[@MathieuRA Thank you, perfect
Br,
]]></description><link>https://xcp-ng.org/forum/topic/11700/api-fetching-a-list-of-users-with-otp-activated</link><guid isPermaLink="true">https://xcp-ng.org/forum/topic/11700/api-fetching-a-list-of-users-with-otp-activated</guid><dc:creator><![CDATA[fcgo]]></dc:creator><pubDate>Fri, 19 Dec 2025 09:32:59 GMT</pubDate></item><item><title><![CDATA[DATE filter on backup logs ?]]></title><description><![CDATA[But giving your feedback on how you solved it might help many people in the future  Thanks!
]]></description><link>https://xcp-ng.org/forum/topic/11663/date-filter-on-backup-logs</link><guid isPermaLink="true">https://xcp-ng.org/forum/topic/11663/date-filter-on-backup-logs</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Tue, 09 Dec 2025 16:58:30 GMT</pubDate></item><item><title><![CDATA[Access XOA Logs via API?]]></title><description><![CDATA[@MathieuRA The context for my question is I created an app to control my VMs and though my app said a VM started it really didn't.  When I went into the logs I noticed an error, so my thought is to be able to check the logs would be helpful to find out if there is an error or not.  Let me update my app because I'm thinking I can get around not having access to the logs.  Thank you for the prompt response!  Have a blessed day!
]]></description><link>https://xcp-ng.org/forum/topic/11647/access-xoa-logs-via-api</link><guid isPermaLink="true">https://xcp-ng.org/forum/topic/11647/access-xoa-logs-via-api</guid><dc:creator><![CDATA[ThisGuy_420]]></dc:creator><pubDate>Fri, 05 Dec 2025 19:50:55 GMT</pubDate></item><item><title><![CDATA[XOA and Home Assistant]]></title><description><![CDATA[@Pilow that probably would have been a good idea hey!
[image: xoa_homeassistant-tile-example.png?raw=true]
That's the example tile from dashboard-card-example.yaml.
But it's Home Assistant. You make it look however you want right?
Having the entities available to use is most of the challenge.
]]></description><link>https://xcp-ng.org/forum/topic/11530/xoa-and-home-assistant</link><guid isPermaLink="true">https://xcp-ng.org/forum/topic/11530/xoa-and-home-assistant</guid><dc:creator><![CDATA[francis-chiew]]></dc:creator><pubDate>Sun, 09 Nov 2025 11:31:03 GMT</pubDate></item><item><title><![CDATA[Api actions like memory or disk]]></title><description><![CDATA[Yes, they are created either:

on demand for users
when we need in XO 6

Now, XO 6 is becoming the main driver for new endpoint as the UI is providing more and more features.
]]></description><link>https://xcp-ng.org/forum/topic/11509/api-actions-like-memory-or-disk</link><guid isPermaLink="true">https://xcp-ng.org/forum/topic/11509/api-actions-like-memory-or-disk</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Mon, 03 Nov 2025 18:34:36 GMT</pubDate></item><item><title><![CDATA[Xen Orchestra Inventory Export Script]]></title><description><![CDATA[@olivierlambert Fun fact -lah is short for lazy ass human
AI is coming...
[image: 1761837446934-feb6ff1a-7269-4c37-84b8-8ed1d64c3d68-image.png]
]]></description><link>https://xcp-ng.org/forum/topic/11489/xen-orchestra-inventory-export-script</link><guid isPermaLink="true">https://xcp-ng.org/forum/topic/11489/xen-orchestra-inventory-export-script</guid><dc:creator><![CDATA[DustinB]]></dc:creator><pubDate>Thu, 30 Oct 2025 06:49:07 GMT</pubDate></item><item><title><![CDATA[How to revert VM to snapshot]]></title><description><![CDATA[Thanks @MathieuRA !
]]></description><link>https://xcp-ng.org/forum/topic/11384/how-to-revert-vm-to-snapshot</link><guid isPermaLink="true">https://xcp-ng.org/forum/topic/11384/how-to-revert-vm-to-snapshot</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Sat, 04 Oct 2025 10:57:13 GMT</pubDate></item><item><title><![CDATA[Why changing objects in resource set wipe limits ???]]></title><description><![CDATA[@Kptainflintt you are welcome  We are always delighted when we can quickly unblock a user!
Have a good day and don't hesitate to come back if you have other issues in the future.
]]></description><link>https://xcp-ng.org/forum/topic/11241/why-changing-objects-in-resource-set-wipe-limits</link><guid isPermaLink="true">https://xcp-ng.org/forum/topic/11241/why-changing-objects-in-resource-set-wipe-limits</guid><dc:creator><![CDATA[lsouai-vates]]></dc:creator><pubDate>Wed, 03 Sep 2025 13:10:04 GMT</pubDate></item><item><title><![CDATA[Trouble Creating VM via API]]></title><description><![CDATA[@bryonadams said in Trouble Creating VM via API:

Is there a place I can submit a feature request to allow setting a description and other settings from the UI to get feature parity when creating a VM? Otherwise, there's not much point since I have to go in and touch the new VM anyway. Unless I'm going about this wrong to begin with?

You can create a feature request on Xen Orchestra github repository (https://github.com/vatesfr/xen-orchestra/issues), and if you have subscribed to support via XOA you can send a request through Zammad.
]]></description><link>https://xcp-ng.org/forum/topic/11148/trouble-creating-vm-via-api</link><guid isPermaLink="true">https://xcp-ng.org/forum/topic/11148/trouble-creating-vm-via-api</guid><dc:creator><![CDATA[lsouai-vates]]></dc:creator><pubDate>Fri, 08 Aug 2025 13:34:25 GMT</pubDate></item><item><title><![CDATA[Rest API Mount CDRom to VM]]></title><description><![CDATA[I was curious if there had been any updates to mounting ISOs via the API?
Thanks.
]]></description><link>https://xcp-ng.org/forum/topic/11056/rest-api-mount-cdrom-to-vm</link><guid isPermaLink="true">https://xcp-ng.org/forum/topic/11056/rest-api-mount-cdrom-to-vm</guid><dc:creator><![CDATA[StephenAOINS]]></dc:creator><pubDate>Wed, 09 Jul 2025 18:06:15 GMT</pubDate></item><item><title><![CDATA[Getting Error Creating VM Through REST]]></title><description><![CDATA[Haha, glad it works now, that's what matters anyway 
]]></description><link>https://xcp-ng.org/forum/topic/11044/getting-error-creating-vm-through-rest</link><guid isPermaLink="true">https://xcp-ng.org/forum/topic/11044/getting-error-creating-vm-through-rest</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Mon, 07 Jul 2025 18:17:10 GMT</pubDate></item><item><title><![CDATA[REST API create_vm returns task URL that doesn&#x27;t exist?]]></title><description><![CDATA[This is normal, as the tasks endpoints are in the old REST API (undocumented by Swagger).
We are gradually migrating to the new REST API to document all endpoints.
]]></description><link>https://xcp-ng.org/forum/topic/11023/rest-api-create_vm-returns-task-url-that-doesn-t-exist</link><guid isPermaLink="true">https://xcp-ng.org/forum/topic/11023/rest-api-create_vm-returns-task-url-that-doesn-t-exist</guid><dc:creator><![CDATA[MathieuRA]]></dc:creator><pubDate>Wed, 02 Jul 2025 19:01:10 GMT</pubDate></item><item><title><![CDATA[API doc]]></title><description><![CDATA[This page is being improved as we speak  It shouldn't be in "Future improvements" because it's here 
]]></description><link>https://xcp-ng.org/forum/topic/10957/api-doc</link><guid isPermaLink="true">https://xcp-ng.org/forum/topic/10957/api-doc</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Wed, 18 Jun 2025 08:44:27 GMT</pubDate></item><item><title><![CDATA[XCP-NG API token]]></title><description><![CDATA[@florent, I had to do the same for Xen Orchestra Community Edition. In my case, config.toml already contained the [authentication] section, so adding a separate config.tokenValidity.toml file did not work.
Instead, I had to modify the existing config.toml located at /opt/xo/xo-server.
In my opinion, it is best to keep defaultTokenValidity set to 30 days as a fallback in case no value is specified. You can then simply increase maxTokenValidity to the duration you prefer.
[authentication]
defaultTokenValidity = '30 days'
# default value of 0.5 years
# comment out and increase to 5 years
#maxTokenValidity = ' 0.5 year'
maxTokenValidity = '5 year'

]]></description><link>https://xcp-ng.org/forum/topic/10934/xcp-ng-api-token</link><guid isPermaLink="true">https://xcp-ng.org/forum/topic/10934/xcp-ng-api-token</guid><dc:creator><![CDATA[LennertvdBerg]]></dc:creator><pubDate>Thu, 12 Jun 2025 10:27:14 GMT</pubDate></item><item><title><![CDATA[Run a job (host.stop) defined in XOCE via API]]></title><description><![CDATA[
]]></description><link>https://xcp-ng.org/forum/topic/10708/run-a-job-host.stop-defined-in-xoce-via-api</link><guid isPermaLink="true">https://xcp-ng.org/forum/topic/10708/run-a-job-host.stop-defined-in-xoce-via-api</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Fri, 04 Apr 2025 12:36:14 GMT</pubDate></item><item><title><![CDATA[How to return all data with xo-cli without limits]]></title><description><![CDATA[On it. Thanks 
]]></description><link>https://xcp-ng.org/forum/topic/10681/how-to-return-all-data-with-xo-cli-without-limits</link><guid isPermaLink="true">https://xcp-ng.org/forum/topic/10681/how-to-return-all-data-with-xo-cli-without-limits</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Sun, 30 Mar 2025 20:10:40 GMT</pubDate></item></channel></rss>