GET /api/deployment/archive/{groupID}/{archiveID}
Description
Get a deployment archive. The archive must be deployed to at least one API Server in the domain.
Resource URL
https://localhost:8090/api/deployment/archive/{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 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 Deployment Archive. Refer to Javadoc for com.vordel.api.deployment.model.DeploymentArchive . |
500 | The response contains a server-side error. |
Example Request and Response
GET https://localhost:8090/api/deployment/archive/group-2/9124ef94-0b18-4b67-b9f0-ece0c653ca36
HTTP 1.1 200 OK
{
"result": {
"rootProperties": {
"Manifest-Version": "1.0",
"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"
},
"data": "UEsDBBQACAAIACJmi0EAA....."
}
}