GET /api/deployment/archive/policy/{groupID}/{archiveID}
Description
Get a Policy 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/policy/{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 Policy 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 Policy Archive. Refer to Javadoc for com.vordel.api.deployment.model.PolicyArchive . |
500 | The response contains a server-side error. |
Example Request and Response
GET https://localhost:8090/api/deployment/archive/policy/group-2/9124ef94-0b18-4b67-b9f0-ece0c653ca36
HTTP 1.1 200 OK
{
"result": {
"rootProperties": {
"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"
},
"data": "UEsDBBQACAAIAONmi0EAAAAA....."
}
}