Retrieve a snapshot by ID
GET/v1/snapshotter/:snapshotId
Returns the details of a snapshot, such as status and the snapshot image URL. Note that snapshots are stored for 30 days and automatically deleted afterwards. Please ensure to change the region in the URL to match your account's region.
Request
Path Parameters
ID of the snapshot
Responses
- 200
successful operation
- application/json
- Schema
- Example (from schema)
Schema
ID of the snapshot
ID of the account
Possible values: [DASHBOARD
, VISUALIZATION
]
The object type
Possible values: [SUCCESS
, FAILED
, IN_PROGRESS
]
Status of the snapshot capture operation
Name of the object captured in the snapshot
Web address where the snapshot image is stored
A link to the snapshot in the Logz.io app
Message to send to snapshot recipients
Starting timedate of the visualization, as a Unix epoch integer.
Ending timedate of the visualization, as a Unix epoch integer.
Time zone to use in timeFrameFrom
and timeFrameTo
{
"snapshotId": 3094,
"accountId": 5555,
"snapshotType": "VISUALIZATION",
"status": "SUCCESS",
"snapshotSavedObjectName": "Mysql response times percentiles",
"imageUrl": "https://snapshotter-logzio-prod.s3.amazonaws.com/1234/567890/snapshots/8843_3094_dC6pBjbrWc1lfN7Gob82oJuSUxTGbm8D6hDE1TcR1pVzIVO0TsB3tuZEZs1YpOGh.png",
"appLinkUrl": "https://app.logz.io/#/dashboard/kibana?kibanaRoute=%2Fvisualize%2Fedit%a4d365e001-5bc9-4851-1933-a70b45a67e9d%3F_g%3D%2528time%253A%2528from%253A%25272018-06-02T15",
"message": "Hey, let me know if you need me to do anything about this.",
"timeFrameFrom": 389836800,
"timeFrameTo": 414720000,
"snapshotTimeZone": "UTC"
}