List addon backup restores | Addons | Northflank API docs
v1
Double column
API
CLI
JS Client

Addons /

List addon backup restores

Gets a list of restores for the given backup.

Required permission

Project > Addons > General > Read

Path parameters

    • projectId

      string required

      ID of the project

    • addonId

      string required

      ID of the addon

    • backupId

      string required

      ID of the backup

Query parameters

    • per_page

      integer

      The number of results to display per request. Maximum of 100 results per page.

    • page

      integer

      The page number to access.

    • cursor

      string

      The cursor returned from the previous page of results, used to request the next page.

Response body

  • {object}

    Response object.

    • data

      {object} required

      Result data.

      • restores

        [array]

        A list of backup restores.

        • {object}
          • id

            integer required

            Id of the restore, unix millis.

          • restoreTimestamp

            string required

            The time the backup was initiated.

          • status

            string required

            The current status of the restore.

            one of
            scheduled, in-progress, completed, aborting, aborted, failed, not-supported
          • completedAt

            string

            The time the restore was completed.

    • pagination

      {object} required

      Data about the endpoint pagination.

      • hasNextPage

        boolean required

        Is there another page of results available?

      • cursor

        string

        The cursor to access the next page of results.

      • count

        number required

        The number of results returned by this request.

API
CLI
JS Client

GET /v1/projects/{projectId}/addons/{addonId}/backups/{backupId}/restores

Example response

200 OK

A list of restores for the given backup.

JSON

{
  "data": {
    "restores": [
      {
        "id": 1693287033325,
        "restoreTimestamp": "2021-01-20T11:19:54.494Z",
        "status": "completed",
        "completedAt": "2021-01-20T11:19:54.494Z"
      }
    ]
  },
  "pagination": {
    "hasNextPage": false,
    "count": 1
  }
}

© 2024 Northflank Ltd. All rights reserved.