XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    API doc

    Scheduled Pinned Locked Moved Solved REST API
    6 Posts 3 Posters 124 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Tristis OrisT Offline
      Tristis Oris Top contributor
      last edited by

      How about to create public api resource like swagger? or maybe bundled with XO.

      florentF 1 Reply Last reply Reply Quote 0
      • florentF Offline
        florent Vates 🪐 XO Team @Tristis Oris
        last edited by

        @Tristis-Oris we are documenting it while migrating the api to the new rest api
        http://<xo_url>/rest/v0/docs/ should show you the swagger doc

        Tristis OrisT 1 Reply Last reply Reply Quote 0
        • Tristis OrisT Offline
          Tristis Oris Top contributor @florent
          last edited by

          @florent wow, easter egg. thanks.

          1 Reply Last reply Reply Quote 1
          • Tristis OrisT Tristis Oris marked this topic as a question
          • Tristis OrisT Tristis Oris has marked this topic as solved
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by olivierlambert

            Haha we discussed about Swagger since a while, I think we announced it few releases ago already.

            edit: found it! See https://xen-orchestra.com/blog/xen-orchestra-5-104/#swagger-and-openapi-integration-a-big-step-forward

            It's also documented in https://docs.xen-orchestra.com/restapi#openapiswagger (found it by typing "swagger" in the search)

            So it's not really an easter egg 😉 But I understand what you meant, maybe we should have a button somewhere in the user zone of XO 6 to point to it, IDK 🤔

            Tristis OrisT 1 Reply Last reply Reply Quote 0
            • Tristis OrisT Offline
              Tristis Oris Top contributor @olivierlambert
              last edited by

              @olivierlambert damn it at very bottom of page) i checked the doc first.

              1 Reply Last reply Reply Quote 0
              • olivierlambertO Offline
                olivierlambert Vates 🪐 Co-Founder CEO
                last edited by

                This page is being improved as we speak 🙂 It shouldn't be in "Future improvements" because it's here 😄

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post