XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Xen Orchestra
    3. REST API
    Log in to post
    Load new posts
    • Recently Replied
    • Recently Created
    • Most Posts
    • Most Votes
    • Most Views
    • K

      Xen Orchestra API and documentation - Examples

      Watching Ignoring Scheduled Pinned Locked Moved
      11
      0 Votes
      11 Posts
      4k Views
      olivierlambertO
      I think it might be easier to do so with the new REST API, what do you think @julien-f ?
    • K

      Example - List all VM backups

      Watching Ignoring Scheduled Pinned Locked Moved
      7
      0 Votes
      7 Posts
      2k Views
      K
      @cmuller Thank you! It's great to see code-sharing in the forum!
    • samuelolavoS

      Inquiry about Obtaining VM Disk Space Usage via XO API or XO-CLI

      Watching Ignoring Scheduled Pinned Locked Moved
      5
      0 Votes
      5 Posts
      1k Views
      julien-fJ
      First of all, take a look at the general XO REST API documentation. Then, take a look at xo-cli --help which explain how to use it to interact with the REST API. You can list all VDIs at /rest/v0/vdis, snapshots are available at /rest/v0/vdi-snapshots. You also have the ability to list the VDIs attached to a specific VM at /rest/v0/vms/:id/vdis.
    • samuelolavoS

      Accessing Resource Set and ACLs Information via API

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      824 Views
      julien-fJ
      @samuelolavo Not exposed in the REST API yet. You can use the legacy API for this: xo-cli acl.get xo-cli resourceSet.getAll
    • R

      Fetch backup information

      Watching Ignoring Scheduled Pinned Locked Moved
      11
      0 Votes
      11 Posts
      2k Views
      R
      @julien-f maybe there can we some recoverypoint endpoint? or remotes?
    • B

      Backup job list with most recent status

      Watching Ignoring Scheduled Pinned Locked Moved
      1
      0 Votes
      1 Posts
      421 Views
      No one has replied
    • P

      Access historical CPU and memory metrics - Xen Orchestra v5

      Watching Ignoring Scheduled Pinned Locked Moved
      18
      1
      0 Votes
      18 Posts
      4k Views
      olivierlambertO
      Have you read https://xapi-project.github.io/xen-api/metrics.html ? It explains the diff between getting all data and only the diff (delta). It's a must read to understand the way RRDs can be fetch.
    • V

      APIs SDKs and Xen-ng

      Watching Ignoring Scheduled Pinned Locked Moved
      22
      0 Votes
      22 Posts
      7k Views
      V
      @Danp No of course i can disable it , okay i will not struggle with it After disable HA , i could delete it , thanks
    • A

      Issue with Two-Node HA Cluster: XAPI Failing to Log In and HA Disablement

      Watching Ignoring Scheduled Pinned Locked Moved Solved
      6
      0 Votes
      6 Posts
      2k Views
      A
      @Danp, glusterfs. Anyway I found the problem. It was a problem with cache size and the client fuse didn't mount it. Thank you really much for helping me.
    • R

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

      Watching Ignoring Scheduled Pinned Locked Moved Solved
      7
      0 Votes
      7 Posts
      2k Views
      olivierlambertO
      No worries @Rhodderz happy to know it works for you now!
    • M

      Fetching a list of available templates

      Watching Ignoring Scheduled Pinned Locked Moved Solved
      4
      0 Votes
      4 Posts
      1k 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
    • A

      Fetching a list of users?

      Watching Ignoring Scheduled Pinned Locked Moved Solved
      4
      0 Votes
      4 Posts
      763 Views
      olivierlambertO
      Cf https://xen-orchestra.com/blog/xen-orchestra-5-92#-rest-api
    • R

      Determine if an Host has Hypertreading enabled

      Watching Ignoring Scheduled Pinned Locked Moved
      18
      0 Votes
      18 Posts
      3k Views
      R
      @olivierlambert is it possible to apply this changes allready to our XOA? it would help with the development.
    • R

      Fetch VMS and there current hosts

      Watching Ignoring Scheduled Pinned Locked Moved
      10
      0 Votes
      10 Posts
      2k 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>.
    • M

      Group Query

      Watching Ignoring Scheduled Pinned Locked Moved
      9
      1 Votes
      9 Posts
      2k 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
    • J

      Rest api timeout, how to set timeout in xo-cli

      Watching Ignoring Scheduled Pinned Locked Moved
      1
      0 Votes
      1 Posts
      334 Views
      No one has replied
    • DustyArmstrongD

      Has REST API changed (Cannot GET backup logs)?

      Watching Ignoring Scheduled Pinned Locked Moved Solved
      7
      0 Votes
      7 Posts
      2k Views
      julien-fJ
      @DustyArmstrong Thanks for your report
    • K

      xo-cli as cron-job: Error [ERR_MODULE_NOT_FOUND]: Cannot find package

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      624 Views
      olivierlambertO
      Haha yeah, it's an usual mistake I'm often doing myself
    • DustyArmstrongD

      XO Rest API Supported Queries

      Watching Ignoring Scheduled Pinned Locked Moved
      16
      0 Votes
      16 Posts
      4k Views
      julien-fJ
      @DustyArmstrong Perfect, thanks for your feedback
    • K

      xo-cli and REST - show available fields

      Watching Ignoring Scheduled Pinned Locked Moved Solved
      3
      0 Votes
      3 Posts
      633 Views
      K
      @julien-f Thank you very much!!! GREAT!