You can view applications and associated application versions. The APIs are useful for retrieving all of the existing application and application versions in the current group. You can create an application in the vCloud Application Director user interface. You can also use the CLI to import applications from vCloud Application Director 5.0 and 5.2 versions to the vCloud Application Director 6.0 appliance or between different vCloud Application Director 6.0 appliances.

Retrieves a paginated list of applications and associated application versions in vCloud Application Director.

All of the vCloud Application Director predefined user accounts and associated roles can access this API.

GET

https://ApplicationDirectorServerIP:8443/darwin/api/2.0/application?page=Page&page-size=PageSize

You must type the URI syntax because the copy and paste operation removes formatting from the text.

Example URI syntax:

https://ApplicationDirectorServerIP:8443/darwin/api/2.0/application?page=0&page-size=1
{
  "errors": false,
  "messageList": [],
  "count": 4,
  "results": [
    {
      "id": "599",
      "lockVersion": 1,
      "name": "Clustered DotShoppingCart",
      "description": "An ASP.NET E-Commerce and CMS solution.",
      "lastUpdated": 1378763304778,
      "lastUpdateUser": "SYSTEM",
      "created": 1378763304778,
      "createUser": "SYSTEM",
      "applicationVersions": [
        {
          "id": "598",
          "lockVersion": 1,
          "name": "Clustered DotShoppingCart",
          "description": "Three-tier DotShoppingCart on Windows Server 2008 R2; Apache HTTP Server for load balancer, Microsoft IIS for application server, and Microsoft SQL Server for database server.",
          "lastUpdated": 1331830800000,
          "lastUpdateUser": "SYSTEM",
          "created": 1331830800000,
          "createUser": "SYSTEM",
          "version": {
            "major": "1",
            "minor": "0",
            "micro": "0",
            "qualifier": ""
          },
          "deploymentProfileListRef": {
            "uri": "/darwin/api/2.0/application-version/598/deployment-profile"
          },
          "blueprintRef": {
            "uri": "/darwin/api/2.0/blueprint/598",
            "id": "99",
            "name": "DotShoppingCart_Open_Source_Edition"
          },
          "groupMembership": {
            "id": "100599",
            "lockVersion": 1,
            "ownerGroupRef": {
              "uri": null,
              "id": "1",
              "name": "Default"
            }
          }
        }
      ],
      "groupMembership": {
        "id": "100599",
        "lockVersion": 1,
        "ownerGroupRef": {
          "uri": null,
          "id": "1",
          "name": "Default"
        }
      }
    }
  ]
}

Retrieves an application version in vCloud Application Director based on the application version identification.

All of the vCloud Application Director predefined user accounts and associated roles can access this API.

GET

https://ApplicationDirectorServerIP:8443/darwin/api/2.0/application-version/ApplicationVersionID

You must type the URI syntax because the copy and paste operation removes formatting from the text.

The ApplicationID variable has the object-type-id format, which is used across several vCloud Application Director REST APIs. In this case, the object type is the application and the id is the id element that was retrieved from the get applications call.

Example URI syntax:

https://ApplicationDirectorServerIP:8443/darwin/api/2.0/application-version/598
{
  "errors": false,
  "messageList": [],
  "result": {
    "id": "598",
    "lockVersion": 1,
    "name": "Clustered DotShoppingCart",
    "description": "Three-tier DotShoppingCart on Windows Server 2008 R2; Apache HTTP Server for load balancer, Microsoft IIS for application server, and Microsoft SQL Server for database server.",
    "lastUpdated": 1331830800000,
    "lastUpdateUser": "SYSTEM",
    "created": 1331830800000,
    "createUser": "SYSTEM",
    "version": {
      "major": "1",
      "minor": "0",
      "micro": "0",
      "qualifier": ""
    },
    "deploymentProfileListRef": {
      "uri": "/darwin/api/2.0/application-version/598/deployment-profile"
    },
    "blueprintRef": {
      "uri": "/darwin/api/2.0/blueprint/598",
      "id": "99",
      "name": "DotShoppingCart_Open_Source_Edition"
    },
    "groupMembership": {
      "id": "100599",
      "lockVersion": 1,
      "ownerGroupRef": {
        "uri": null,
        "id": "1",
        "name": "Default"
      }
    }
  }
}

Retrieves an application based on the provided identification and corresponding application versions in vCloud Application Director.

All of the vCloud Application Director predefined user accounts and associated roles can access this API.

GET

https://ApplicationDirectorServerIP:8443/darwin/api/2.0/application/ApplicationID

You must type the URI syntax because the copy and paste operation removes formatting from the text.

The ApplicationID variable has the object-type-id format, which is used across several vCloud Application Director REST APIs. In this case, the object type is the application and the id is the id element that was retrieved from the get applications call. The ApplicationID variable is the id element created when you run the Get Applications REST API.

Example URI syntax:

https://ApplicationDirectorServerIP:8443/darwin/api/2.0/application/599
{
  "errors": false,
  "messageList": [],
  "result": {
    "id": "599",
    "lockVersion": 1,
    "name": "Clustered DotShoppingCart",
    "description": "An ASP.NET E-Commerce and CMS solution.",
    "lastUpdated": 1378763304778,
    "lastUpdateUser": "SYSTEM",
    "created": 1378763304778,
    "createUser": "SYSTEM",
    "applicationVersions": [
      {
        "id": "598",
        "lockVersion": 1,
        "name": "Clustered DotShoppingCart",
        "description": "Three-tier DotShoppingCart on Windows Server 2008 R2; Apache HTTP Server for load balancer, Microsoft IIS for application server, and Microsoft SQL Server for database server.",
        "lastUpdated": 1331830800000,
        "lastUpdateUser": "SYSTEM",
        "created": 1331830800000,
        "createUser": "SYSTEM",
        "version": {
          "major": "1",
          "minor": "0",
          "micro": "0",
          "qualifier": ""
        },
        "deploymentProfileListRef": {
          "uri": "/darwin/api/2.0/application-version/598/deployment-profile"
        },
        "blueprintRef": {
          "uri": "/darwin/api/2.0/blueprint/598",
          "id": "99",
          "name": "DotShoppingCart_Open_Source_Edition"
        },
        "groupMembership": {
          "id": "100599",
          "lockVersion": 1,
          "ownerGroupRef": {
            "uri": null,
            "id": "1",
            "name": "Default"
          }
        }
      }
    ],
    "groupMembership": {
      "id": "100599",
      "lockVersion": 1,
      "ownerGroupRef": {
        "uri": null,
        "id": "1",
        "name": "Default"
      }
    }
  }
}