The deployment-status command retrieves a list of deployed solutions along with their replica status and service port numbers.

JSON Input Data Format
{
    "id": string
}
id * Specifies the ID of the cluster.
* Indicates a mandatory field.

Code Snippets
Here are several code snippets provided for your direct use. Simply select your preferred tool/language by clicking on it.


Successful Response
{
    "result": "OK",
    "payload": [
        {
            "name": "apache",
            "replicas": "2/2"
        },
        {
            "name": "nginx",
            "replicas": "2/2"
        },
        {
            "service": "nginx",
            "port": "2000"
        },
        {
            "service": "apache",
            "port": "2001"
        }
    ]
}

Failed Response
{
    "result": "ERR",
    "message": "Error message ..."
}