View applications and associated application versions. The APIs are useful for retrieving all of the application and application versions that are created.

Retrieves a paginated list of applications.

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

GET

https://ApplicationDirectorServerIP:8443/darwin/api/1.0/applications/page/Page/page-size/PageSize

Example URI syntax:

https://ApplicationDirectorServerIP:8443/darwin/api/1.0/applications/page/0/page-size/2
Description for Response Messages

Response Message

Description

errors

Indicates a problem.

messageList

Indicates messages from the server for the request.

count

Indicates the total number of records.

id

Indicates the identifier for the application.

lastUpdated

Indicates the last update time.

lastUpdateUser

Indicates last user who updated the application.

created

Indicates the time when the application was created.

createUser

Indicates the user who created the application.

name

Indicates the user assigned application name.

description

Indicates the user provided application description.

{ 
   "errors":false, 
   "messageList":[ 
  
   ], 
   "count":8, 
   "results":[ 
      { 
         "id":"599", 
         "lastUpdated":1342560702912, 
         "lastUpdateUser":"SYSTEM", 
         "created":1342560702912, 
         "createUser":"SYSTEM", 
         "name":"Clustered DotShoppingCart", 
         "description":"An ASP.NET E-Commerce and CMS solution."
      }, 
      { 
         "id":"501", 
         "lastUpdated":1342560702318, 
         "lastUpdateUser":"SYSTEM", 
         "created":1342560702318, 
         "createUser":"SYSTEM", 
         "name":"Clustered Dukes Bank App", 
         "description":"Clustered Dukes Bank App"
      } 
   ] 
}

Retrieves a paginated list of application versions for an application.

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

GET

https://ApplicationDirectorServerIP:8443/darwin/api/1.0/application-versions/ApplicationID/page/Page/page-size/PageSize

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

Example URI syntax:

https://ApplicationDirectorServerIP:8443/darwin/api/1.0/application-versions/501/page/0/page-size/2
Description for Response Messages

Response Message

Description

micro, major, minor, and qualifier

Denotes the application version information.

{ 
   "errors":false, 
   "messageList":[ 
  
   ], 
   "count":2, 
   "results":[ 
      { 
         "id":"502", 
         "lastUpdated":1331830800000, 
         "lastUpdateUser":"SYSTEM", 
         "created":1331830800000, 
         "createUser":"SYSTEM", 
         "description":"Three-tier Dukes Bank application on Windows nodes; 
Apache HTTP Server for load balancer, Microsoft IIS for application server, 
and Microsoft SQL Server for database server.", 
         "major":3, 
         "minor":0, 
         "micro":0, 
         "qualifier":""
      }, 
      { 
         "id":"501", 
         "lastUpdated":1322020758327, 
         "lastUpdateUser":"SYSTEM", 
         "created":1322020758327, 
         "createUser":"SYSTEM", 
         "description":"Three-tier Dukes Bank application on Linux nodes; 
Apache HTTP Server for load balancer, JBoss Server for application server 
(clustered), and MySQL Server for database server.", 
         "major":2, 
         "minor":1, 
         "micro":0, 
         "qualifier":""
      } 
   ] 
}