Get the list of versions in a snapshot

Request

GET https://{hostname}:{port}
    /cli/snapshot/getSnapshotVersions?{parameters}
Accept: {contentType}
Table 1. Request parameters
Parameter Type Required Description
snapshot string true Name or ID of the snapshot
application string false Name 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/getSnapshotVersions
  ?application=JPetStore&snapshot=mySnapshot"

Related CLI command: getSnapshotVersions.