GET /api/deployment/archive/policy/service/{serviceID}

Description

Get the Policy Archive currently deployed to an API Server.


Resource URL

https://localhost:8090/api/deployment/archive/policy/service/{serviceID}


Parameters

serviceID mandatory The id of the API Server whose currently loaded Policy Archive we wish to download.

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/service/instance-1

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....."
    }
}