Get point-in-time restore window | Addons | Northflank API docs
v1
Double column
API
CLI
JS Client

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 required

      ID of the project

    • addonId

      string required

      ID of the addon

Response body

  • {object}

    Response object.

    • data

      {object} required

      Result data.

      • hasValidWindow

        boolean required

        If true, the addon has a valid window in which a PITR can be performed.

      • startTimestamp

        string

        The start of the PITR window.

      • endTimestamp

        string

        The 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"
  }
}

© 2024 Northflank Ltd. All rights reserved.