// removed jquery ui css and js

Get All Versions of an Application

Details

API Details
NameGet All Versions of an Application
DescriptionRetrieve a list of all versions of an application
MethodGET
URI/v1/apps/appId/allVersions
CloudCenter Release

CloudCenter 3.x and 4.x

NotesFor additional context on <PORT> usage in the following example(s), see Base URI Format.
ESB Headeraction: get.apps.appId.allVersions

Example

curl -k -X GET -H "Accept: application/json" -u cliqradmin:40E45DBE57E35ECB "https://<HOST>:<PORT>/v1/apps/38/allVersions/ 

Response

{
    "apps": [
        {
            "id": "38",
            "resource": "https://<HOST>:<PORT>/v1/apps/38?version=2",
            "perms": [],
            "name": "Rollerblog_Ver2_1",
            "version": "2",
            "description": "",
            "serviceTierId": "Rollerblog_Ver2_4-38",
            "versions": []
        },
        {
            "id": "38",
            "resource": "https://<HOST>:<PORT>/v1/apps/38?version=0",
            "perms": [],
            "name": "Rollerblog_Ver2_4",
            "version": "0",
            "description": "",
            "serviceTierId": "Rollerblog_Ver2_4-38",
            "versions": [
                "1",
                "2",
                "Venblog_3",
                "0"
            ]
        },
    ],
    "size": 4
} 

Request Attributes

appId
  • Description: Unique, system-generated identifier for the application profile. You can provide multiple application profile IDs as input parameters.

  • Type: String

Response Attributes

apps
  • Description: List of applications
  • Type: List
id
  • DescriptionUnique, system-generated identifier for this CloudCenter Resource.

  • Type: String

resource
  • Description: Unique URL to access this resource.
  • Type: String

name
  • DescriptionThe name assigned for this CloudCenter ResourceValid characters are letters, numbers, underscores, and spaces.

  • Type: String

version
  • Description: Version of the application
  • Type: String
versions
  • Description: List of available applications for the application with the highest version
  • Type: List
description
  • Description: Description of the application
  • Type: String
serviceTierId
  • Description: Type of application tier (for example, Loadbalancer, database, AppCluster, or other tiers). This value is a concatenation of the Application Profile Type Name and the App ID.
    • First job serviceTierId = appName + "-" +appId
    • Child tier serviceTierId = tierName + "-" +appId
  • Type: String
size
  • Description: Total number of records that any list page should contain. The default is: 

    • v1 APIs = 20 records

    • v2 APIs:

      • Prior to 4.8.0: All elements are returned and the page value is ignored.

      • Effective 4.8.0: 50 records
  • Type: Integer