• This topic is deleted!

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

    Solved
    6
    0 Votes
    6 Posts
    140 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
    900 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
    181 Views
    F
    @MathieuRA Thank you, perfect Br,
  • DATE filter on backup logs ?

    Solved
    3
    2
    0 Votes
    3 Posts
    136 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
    270 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!
  • Disable TX checksumming with API

    5
    0 Votes
    5 Posts
    768 Views
    P
    @SethNY you could even enhance this VM_LIST = with TAGs on VM, so that you manage the selection directly in XOA
  • XOA and Home Assistant

    3
    0 Votes
    3 Posts
    472 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.
  • Api actions like memory or disk

    4
    0 Votes
    4 Posts
    350 Views
    olivierlambertO
    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.
  • How to revert VM to snapshot

    12
    0 Votes
    12 Posts
    1k Views
    olivierlambertO
    Thanks @MathieuRA !
  • Xen Orchestra Inventory Export Script

    3
    2
    3 Votes
    3 Posts
    393 Views
    D
    @olivierlambert Fun fact -lah is short for lazy ass human AI is coming... [image: 1761837446934-feb6ff1a-7269-4c37-84b8-8ed1d64c3d68-image.png]
  • Rest API Mount CDRom to VM

    7
    0 Votes
    7 Posts
    1k Views
    S
    I was curious if there had been any updates to mounting ISOs via the API? Thanks.
  • Why changing objects in resource set wipe limits ???

    Solved
    15
    0 Votes
    15 Posts
    2k Views
    lsouai-vatesL
    @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.
  • Trouble Creating VM via API

    Solved
    18
    0 Votes
    18 Posts
    2k Views
    lsouai-vatesL
    @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.
  • Getting Error Creating VM Through REST

    Solved
    4
    0 Votes
    4 Posts
    542 Views
    olivierlambertO
    Haha, glad it works now, that's what matters anyway
  • REST API create_vm returns task URL that doesn't exist?

    6
    0 Votes
    6 Posts
    905 Views
    MathieuRAM
    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.
  • API doc

    Solved
    6
    0 Votes
    6 Posts
    949 Views
    olivierlambertO
    This page is being improved as we speak It shouldn't be in "Future improvements" because it's here
  • Python help

    28
    0 Votes
    28 Posts
    7k Views
    S
    @Studmuffn1134 I changed my link from ws:// to https:// and it now gives me this error File "Z:\Valera\School\Lakeland University\Finished\Programming 2\Python Programs\StudsPrograms.venv\Lib\site-packages\jsonrpc_base\jsonrpc.py", line 213, in parse_response raise ProtocolError(code, message, data) jsonrpc_base.jsonrpc.ProtocolError: (10, 'invalid parameters', {'error': {'message': 'invalid parameters', 'code': 10, 'data': {'errors': [{'instancePath': '/id', 'schemaPath': '#/properties/id/type', 'keyword': 'type', 'params': {'type': 'string'}, 'message': 'must be string'}]}}, 'id': '0a11ec72-9300-4030-a5d2-a5c0286f3811', 'jsonrpc': '2.0'})
  • Run a job (host.stop) defined in XOCE via API

    10
    0 Votes
    10 Posts
    2k Views
    olivierlambertO
  • How to return all data with xo-cli without limits

    Solved
    5
    0 Votes
    5 Posts
    772 Views
    olivierlambertO
    On it. Thanks