GET /api/deployment/archive/environment/service/{serviceID}
Description
Get the Environment Archive currently deployed to an API Server.
Resource URL
https://localhost:8090/api/deployment/archive/environment/service/{serviceID}
Parameters
serviceID | mandatory | The id of the API Server whose currently loaded Environment Archive we wish to download. |
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/service/instance-1
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...."
}
}