Request
GET https://{hostname}:{port}
/cli/snapshot/getStatusList?{parameters}
Accept: {contentType}
Table 1. Request parameters
Parameter |
Type |
Required |
Description |
snapshot |
string |
true |
Name or ID of the snapshot. |
application |
string |
false |
Name or ID of the application; this value is required if you specify the snapshot name instead of ID. |
Example
curl -k -u jsmith:passwd
"https://deployserver.example.com:8443/cli/
snapshot/getStatusList?application=MyApplication&snapshot=MySnapshot"
Example response
[
{
"id": "5ab6cc4f-393f-4fa2-ac35-d30e282648c4",
"type": "SNAPSHOT",
"name": "Good",
"description": "",
"deleted": false,
"color": "#FFCF01",
"unique": false,
"created": 1450130997618
},
{
"id": "51259a1f-69bc-4a3a-b1f4-c1d391b7794a",
"type": "SNAPSHOT",
"name": "Interesting",
"description": "",
"deleted": false,
"color": "#007670",
"unique": false,
"created": 1450131001305
}
]