• Encoding a URL with : and / in their queries (tags)

    Solved
    7
    0 Votes
    7 Posts
    392 Views
    olivierlambertO
    No worries @Rhodderz happy to know it works for you now!
  • Token access level

    3
    0 Votes
    3 Posts
    245 Views
    olivierlambertO
    Question for @julien-f but you already had an answer from @Danp
  • Fetching a list of available templates

    Solved
    4
    0 Votes
    4 Posts
    307 Views
    M
    @julien-f I've tried templates, but not vm-templates Thank you! It works that way. And yeah, I haven't tried to call just /rest/v0
  • Fetching a list of users?

    Solved
    4
    0 Votes
    4 Posts
    229 Views
    olivierlambertO
    Cf https://xen-orchestra.com/blog/xen-orchestra-5-92#-rest-api
  • Determine if an Host has Hypertreading enabled

    18
    0 Votes
    18 Posts
    924 Views
    R
    @olivierlambert is it possible to apply this changes allready to our XOA? it would help with the development.
  • Fetch VMS and there current hosts

    10
    0 Votes
    10 Posts
    450 Views
    julien-fJ
    After reflection I don't think I will implement /hosts/<host id>/residentVms, you can do it very easily with filter: /vms?filter=$container:<host id>.
  • Group Query

    9
    1 Votes
    9 Posts
    395 Views
    julien-fJ
    As @Danp said, changes appear first in the GitHub repo and are available for the XOAs at the next release in the latest channel. But, as it appear, we just did a new patch release (5.91.2) which also contains the REST API changes we talked about
  • Rest api timeout, how to set timeout in xo-cli

    1
    0 Votes
    1 Posts
    139 Views
    No one has replied
  • Has REST API changed (Cannot GET backup logs)?

    Solved
    7
    0 Votes
    7 Posts
    382 Views
    julien-fJ
    @DustyArmstrong Thanks for your report
  • REST API token generation via curl

    7
    0 Votes
    7 Posts
    769 Views
    julien-fJ
    @dan89 Yes, you can pass the --expires flag to change the validity of a token. But you cannot go above maxTokenValidity though you can increase it in your xo-server's config. Example: xo-cli --createToken --expiresIn 90d https://XOA.company.lan admin password
  • xo-cli as cron-job: Error [ERR_MODULE_NOT_FOUND]: Cannot find package

    3
    0 Votes
    3 Posts
    257 Views
    olivierlambertO
    Haha yeah, it's an usual mistake I'm often doing myself
  • XO Rest API Supported Queries

    Moved
    16
    0 Votes
    16 Posts
    1k Views
    julien-fJ
    @DustyArmstrong Perfect, thanks for your feedback
  • xo-cli and REST - show available fields

    Moved Solved
    3
    0 Votes
    3 Posts
    296 Views
    K
    @julien-f Thank you very much!!! GREAT!
  • hosts stats rest api

    Moved Unsolved
    5
    0 Votes
    5 Posts
    369 Views
    R
    @olivierlambert you guys are awesome! Thanks for thinking in the possibilite
  • Automation script to revert and save snapshot

    Moved
    4
    0 Votes
    4 Posts
    283 Views
    olivierlambertO
    The REST API is in our official documentation. For the JSON-RPC API, you can list all the methods with the CLI (also in our official documentation).
  • XO REST API: share your tips and scripts!

    Moved
    1
    0 Votes
    1 Posts
    439 Views
    No one has replied
  • XOA REST API create snapshot

    Moved Solved
    5
    0 Votes
    5 Posts
    550 Views
    V
    @julien-f @olivierlambert thanks guys I will wait until the end of the month you rock!
  • Prometheus SD through REST API

    Moved
    10
    1 Votes
    10 Posts
    717 Views
    olivierlambertO
  • REST API

    Moved in backlog
    9
    0 Votes
    9 Posts
    1k Views
    marcungeschiktsM
    @olivierlambert
  • Xen Orchestra REST API

    Moved Solved
    3
    0 Votes
    3 Posts
    868 Views
    A
    @olivierlambert Thanks for your patience. I have no idea how I missed it as I reread the blog post twice.