Addons /
Get point-in-time restore window
Gets the valid window for performing a point-in-time restore (PITR) on this addon.
Required permission
Project > Addons > General > Read
Path parameters
projectId
string requiredID of the projectaddonId
string requiredID of the addon
Response body
- {object}Response object.
data
{object} requiredResult data.hasValidWindow
boolean requiredIf true, the addon has a valid window in which a PITR can be performed.startTimestamp
stringThe start of the PITR window.endTimestamp
stringThe end of the PITR window.
API
CLI
JS Client
GET /v1/projects/{projectId}/addons/{addonId}/pitr-window
Example response
200 OK
Details about the valid PITR window.
JSON
{
"data": {
"hasValidWindow": true,
"startTimestamp": "2022-06-14T12:49:24.017Z",
"endTimestamp": "2022-07-12T09:34:50.678Z"
}
}