Get a list of statuses on a snapshot

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.
Table 2. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true

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
  }
]

Related CLI command: getStatusList.