• 0 Votes
    7 Posts
    399 Views
    1
    @poddingue Confirmed working, thank you so much for the heads-up, this made my day! Got it wired into the n8n flow and it's running perfectly. One gotcha for anyone else landing here, name_description gets rejected with a 422 "excess property", it has to be nameDescription. Working body: { "nameDescription": "nginx, app-1, app-2 | 2026-06-01" }
  • Disable TX checksumming with API

    6
    0 Votes
    6 Posts
    1k Views
    poddingueP
    Bit of a necropost on your necropost, but this got easier in XO 6.5. The REST API now accepts a txChecksumming parameter when you create a VIF (PR #9793, https://github.com/vatesfr/xen-orchestra/pull/9793), and it maps straight onto the ethtool-tx / other_config value you were setting by hand. So, for new interfaces, you can do it through /rest/v0 now instead of the XAPI script. I think it's on the create path rather than existing VIFs, though, so for the firewalls already running your script or the gear icon is probably still the way, and I haven't tested it against a live VIF myself. Either way, it's nice to have it native in the API now. All-Ki opened this pull request in vatesfr/xen-orchestra closed feat(rest-api): add support for txChecksumming and rateLimitting on V… #9793
  • hosts stats rest api

    Moved Solved
    6
    0 Votes
    6 Posts
    1k Views
    MathieuRAM
    Hi @r0123456789, GET /rest/v0/hosts/:id/stats is available in the REST API
  • REST API token generation via curl

    Solved
    8
    0 Votes
    8 Posts
    2k Views
    MathieuRAM
    Hi @dan89, It is possible to create an authentication_token using the REST API. POST /rest/v0/users/me/authentication_tokens
  • Token access level

    Solved
    4
    0 Votes
    4 Posts
    609 Views
    MathieuRAM
    Hi @Steve_Sibilia, FYI, ACL V2 / RBAC is now available in the REST API. You can see the RBAC doc. A dedicated thread is available on the forum thread, please feel free to share your feedback. Thank you.
  • API authentication token permissions

    Solved
    6
    0 Votes
    6 Posts
    444 Views
    MathieuRAM
    Hi @halvor, FYI, ACL V2 / RBAC is now available in the REST API. You can create a privilege that only give you read privilege on your host. You can see the RBAC doc. A dedicated thread is available on the forum thread, please feel free to share your feedback. Thank you.
  • VIF via REST API?

    Solved
    9
    0 Votes
    9 Posts
    952 Views
    MathieuRAM
    Hi @jedimarcus, FYI, VIF creation is possible via the REST API POST /rest/v0/vifs
  • REST - Reversed query?

    3
    0 Votes
    3 Posts
    166 Views
    DustyArmstrongD
    @florent OK cool, thank you for the info.
  • Feedback from Automation Project (vCPUs, VDI rename, boot order)

    5
    0 Votes
    5 Posts
    396 Views
    K
    @olivierlambert & @mathieura thanks for the speedy response. Duly noted, very much appreciated.
  • IPMI/ IDRAC (XAPI)

    Solved
    8
    0 Votes
    8 Posts
    670 Views
    K
    @gduperrey Worked swell, thanks
  • Unable to define count of CPUs during VM create

    Solved
    7
    1
    0 Votes
    7 Posts
    447 Views
    acebmxerA
    @MathieuRA Glad to see this finally fixed. I brought this up a while ago... https://xcp-ng.org/forum/post/102102
  • Automation of all CURD operations

    6
    0 Votes
    6 Posts
    399 Views
    J
    @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/
  • REST API: Attaching an existing .vhd to a stopped VM

    11
    0 Votes
    11 Posts
    716 Views
    BytevenidosB
    @Danp alright, thanks. I'll give that a try.
  • This topic is deleted!

    5
    1
    0 Votes
    5 Posts
    12 Views
  • filter for custom field

    Solved
    6
    0 Votes
    6 Posts
    484 Views
    R
    @Pilow tags can work and the path to them is much more succinct. Thanks!
  • XCP-NG API token

    5
    0 Votes
    5 Posts
    1k Views
    L
    @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'
  • API Fetching a list of users with OTP activated

    Solved
    4
    1
    0 Votes
    4 Posts
    403 Views
    F
    @MathieuRA Thank you, perfect Br,
  • DATE filter on backup logs ?

    Solved
    3
    2
    0 Votes
    3 Posts
    303 Views
    olivierlambertO
    But giving your feedback on how you solved it might help many people in the future Thanks!
  • Access XOA Logs via API?

    6
    0 Votes
    6 Posts
    585 Views
    T
    @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!
  • XOA and Home Assistant

    3
    0 Votes
    3 Posts
    856 Views
    F
    @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.