Fusion Server

Version 4.0
How To
Documentation
    Learn More

      Apps API

      The Apps API manages your Fusion apps. To export or import an app, see the Objects API. You can also import an app using the Fusion UI.

      Examples

      List all configured apps

      Input
      curl -u user:pass http://fusion-host:8764/api/apps
      Output
      [ {
        "id" : "1032724d-848a-4588-9503-c20702aa3a7b",
        "name" : "Test App",
        "properties" : {
          "headerImageName" : "headerImage2",
          "tileColor" : "apps-red"
        }
      }, {
        "id" : "7fc4d4e5-d3bd-4b21-b85e-9aa29c47b281",
        "name" : "Movie Search",
        "properties" : {
          "headerImageName" : "headerImage3",
          "tileColor" : "apps-dark"
        }
      } ]

      Get the configuration for a specific app

      Input
      curl -u user:pass http://fusion-host:8764/api/apps/8fc4d4e5-d3bd-4b21-b85e-9aa29c47b281
      Output
      {
        "id" : "7fc4d4e5-d3bd-4b21-b85e-9aa29c47b281",
        "name" : "Movie Search",
        "properties" : {
          "headerImageName" : "headerImage3",
          "tileColor" : "apps-dark"
        }
      }
      Input
      curl -u user:pass -X POST -H 'Content-type: application/json' -d '{"id": "MyNewApp", "name":"My new app", "description":"A really great new app"}' http://fusion-host:8764/api/apps
      Output
      {
        "id" : "MyNewApp",
        "name" : "My new app",
        "description" : "A really great new app"
      }
      Loading API specification...