The List All Accessible Applications call returns an array of JSON objects representing each Application to which the logged-in user has access.


Query:


http://host/dmadminweb/API/Applications[?all=y]


Where:


Host

Is the hostname and port of the DeployHub Server (e.g.: hostname:8080 or for SaaS console.deployhub.com)


If the all parameter is not specified, then only the Applications associated with the user’s home domain are listed. If the all parameter is specified and is set to “y” then the result includes the Applications included in any accessible Sub-Domains.


Example Result:


{

       "success": true,

       "result": [

               {

                       "domain": "GLOBAL.FIS",

                       "id": 167,

                       "name": "Application167",

                       "owneruser": "admin",

                       "parentid": 0,

                       "predecessorid": 0,

                       "summary": ""

               }

               Repeated for each retrieved Application

       ]

}


success:

Is true or false depending on the success or failure of the query. If success is false, then result is not returned and a text field named “error” is returned instead.

result:

Is a JSON  array of objects, one for each Application returned by the query (if success is true).


Within each Application Object:

Domain:

The fully-qualified Domain name of the Domain in which the Application is located.

id:

Is the internal ID of the Application.

name:

Is the name of the Application.

owneruser:

If the “owner” of the Application is a user, then this is the name of the user.

ownergroup:

If the “owner” of the Application is a user group, then this is the name of that group.

parentid:

This is the ID of the Application Base Version(if this Application is a version, 0 otherwise).

predecessorid:

This is the ID of the Applications predecessor version (if the Application is a version, 0 otherwise).

summary:

The summary string associated with the Application.