Get information about snapshots in an application

Snapshots are listed from most recent to least recent.

Request

GET https://{hostname}:{port}
    /cli/application/snapshotsInApplication?{parameters}
Accept: {contentType}
Table 1. Request parameters
Parameter Type Required Description
application string true Name or ID of the application
maxResults int false Cap the number of results. Any value less than 1 returns all results.
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/application/
  snapshotsInApplication?application=MyApplication"

Example JSON request

[
  {
    "id": "305749d0-9838-4fce-a8bd-7d25b4ffd5f7",
    "name": "Snapshot1",
    "created": 1441386527766,
    "active": true,
    "versionsLocked": false,
    "configLocked": false,
    "applicationId": "2d741420-fd31-443d-95eb-472d334f8ec9",
    "user": "jsmith"
  },
  {
    "id": "5ab250dd-37f8-4a6e-9ec1-8cf0b547eb25",
    "name": "Snapshot2",
    "created": 1441386081196,
    "active": true,
    "versionsLocked": false,
    "configLocked": false,
    "applicationId": "2d741420-fd31-443d-95eb-472d334f8ec9",
    "user": "jsmith"
  }
]

Related CLI command: getSnapshotsInApplication.