GET /api/deployment/domain/deployments

Description

Get the deployment information of all API Servers in the domain.

Note that the Deployment Archive id currently deployed to each instance is the Id value contained within the rootProperties for the instance, see example data below.


Resource URL

https://localhost:8090/api/deployment/domain/deployments


Parameters


Response Codes

Response Code Description
200 Success. The response body contains the deployment information for all API Servers in the domain. Refer to Javadoc for com.vordel.api.deployment.model.ServiceDeploymentArchiveDetails.
500 The response contains a server-side error.

Example Request and Response

GET https://localhost:8090/api/deployment/domain/deployments

HTTP 1.1 200 OK

{
    "result": {
        "group-2": {
            "instance-1": {
                "rootProperties": {
                    "Id": "9124ef94-0b18-4b67-b9f0-ece0c653ca36",
                    "Timestamp": "1355227707669"
                },
                "policyProperties": {
                    "Manifest-Version": "1.0",
                    "Name": "Default Factory Configuration (Policy)",
                    "Description": "Default factory configuration for API Server (Policy)",
                    "Version": "v1 (Policy)",
                    "VersionComment": "Original factory configuration (Policy)",
                    "Id": "3a375414-f71d-4ed0-9658-7d32f7b1eefb",
                    "Timestamp": "1355132415211"
                },
                "environmentProperties": {
                    "Manifest-Version": "1.0",
                    "Name": "Default Factory Configuration (Environment)",
                    "Description": "Default factory configuration for API Server (Environment)",
                    "Version": "v1 (Environment)",
                    "VersionComment": "Original factory configuration (Environment)",
                    "Id": "8519203f-59e7-4b5b-b22a-b4d8e021e7b5",
                    "Timestamp": "1355132415798"
                },
                "user": "admin",
                "deploymentTimestamp": 1355227711674,
                "status": "Loaded"
            }
        }
    }
}