Simplifier API to get all applications

Tagged:
  • Dinkel
        Has successfully completed the online course Introduction
        Has successfully completed the online course Intermediate (200)
        Has successfully completed the online course Advanced (300)
        Has successfully completed the online course Basics (100)
      5 years ago #17879

      Hi,

      I looked in Swagger for an API (as stated here) to get all Simplifier applications of my Simplifier instance but couldn’t find an API endpoint to achieve something like that.
      Is something like that possible at the moment?

      Dinkel
          Has successfully completed the online course Introduction
          Has successfully completed the online course Intermediate (200)
          Has successfully completed the online course Advanced (300)
          Has successfully completed the online course Basics (100)
        5 years ago #17882
        Up
        1
        Down
        ::

        Hi,

        I’ve just found a different route in the application “Explored” which I searched some days ago and it gives me all applications including their modules.
        Here is a snippet of the Ajax setup:

        var ajaxSetup = {
        type : “POST”,
        url : SimplifierSettings.apiBaseUrl + “client/1.0/auth”,
        data : JSON.stringify({MacAddress: “random string”}),
        contentType : “application/json; charset=utf-8”,
        success : _onSuccess,
        context : this
        };

        Is it a outdated route?

        Mathieu Roll
            Has successfully completed the online course Introduction
            Has successfully completed the online course Intermediate (200)
            Has successfully completed the online course Advanced (300)
            Has successfully completed the online course Basics (100)
          5 years ago #17884
          Up
          1
          Down
          ::

          Hello,

          the client 1.0 route is for the mobile client so you can use this but have to expect some side effects.

          for example the 1.0 client route is filtering the Explored Application so you will not get the full list of applications.

          but if you are good with this you should use this route the UserInterface route Kahn mentioned is used by Simplifier for the admin interface.

          so if we change it for newer Simplifier versions the API will change for the client 1.0 route the api will not change.

          Kahn
              Has successfully completed the online course Introduction
              Has successfully completed the online course Intermediate (200)
              Has successfully completed the online course Advanced (300)
            5 years ago #17881
            Up
            0
            Down
            ::

            Hi, there is no client API for your  exact purpose (All Applications) you can use the UserUI API (not stable) if you need.

            GET  http://[YOUR INSTANCE]/UserInterface/api/application

             

            As the UserInterface API is not stable, there are NO GUARANTEES that the signatures will stay this way in the next releases.

             

            So use it at your own risk.

             

            Cheers

          Viewing 4 posts - 1 through 4 (of 4 total)

          You must be logged in to reply to this topic.