Product Selector

Fusion 5.12
    Fusion 5.12

    Apps APIFusion Admin APIs

    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 USERNAME:PASSWORD https://FUSION_HOST:FUSION_PORT/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 USERNAME:PASSWORD https://FUSION_HOST:FUSION_PORT/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 USERNAME:PASSWORD -X POST -H 'Content-type: application/json' -d '{"id": "MyNewApp", "name":"My new app", "description":"A really great new app"}' https://FUSION_HOST:FUSION_PORT/api/apps

    Output

    {
      "id" : "MyNewApp",
      "name" : "My new app",
      "description" : "A really great new app"
    }