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

    API doc

    Scheduled Pinned Locked Moved Solved REST API
    6 Posts 3 Posters 997 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 on
          • Tristis OrisT Tristis Oris has marked this topic as solved on
          • 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

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post