GET /api/deployment/archive/environment/{groupID}/{archiveID}

Description

Get an Environment Archive from a deployed Deployment Archive. The Deployment Archive must be deployed to at least one API Server in the domain.


Resource URL

https://localhost:8090/api/deployment/archive/environment/{groupID}/{archiveID}


Parameters

groupID mandatory The id of the group that has the Deployment Archive deployed to it.
archiveID mandatory The id of the Deployment Archive from which to extract the Environment Archive to download.
local optional Only used internally in Node Manager to Node Manager invocations.

Response Codes

Response Code Description
200 Success. The response body contains the Environment Archive. Refer to Javadoc for com.vordel.api.deployment.model.EnvironmentArchive.
500 The response contains a server-side error.

Example Request and Response

GET https://localhost:8090/api/deployment/archive/environment/group-2/9124ef94-0b18-4b67-b9f0-ece0c653ca36

HTTP 1.1 200 OK

{
    "result": {
        "rootProperties": {
            "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"
        },
        "data": "UEsDBBQACAAIAApni0EAA...."
    }
}