Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
titleRestore Operations

Restore Snapshot

  • Purpose: Enables user to initiate the restoration of a snapshot
  • Request: PUT https://host:port/bridge/restore

    Code Block
    {
     "host" : "",
     "port" : "",
     "storeId" : "",
     "spaceId" : "",
     "snapshotId" : "",
     "userEmail" : ""
    } 
  • Response Code: 200 (on success)
  • Response Body: JSON:

    Code Block
    {"restorationId" : ""}

     

Restore Complete

  • Purpose: Enables DPN provider to notify bridge app that a snapshot has been restored to bridge storage.
  • Request: POST https://host:port/bridge/restore/(restoreId)/complete
  • snapshotID - Identifier of the snapshot
  • Response Code: 200 (on success)
  • Response Body: JSON:

    Code Block
    {"status" : ""}

Restoration Status

  • Purpose: Provides the status of a restoration action
  • Request: GET https://host:port/bridge/restore/(restoreId)
  • Response Code: 200 (on success)
  • Response Body: JSON:

    Code Block
    {
     "status" : "",
     "subStatus" : "",
     "details": ""
    }

    Possible values for status:

    •     INITIALIZED
    •     WAITING_FOR_DPN
    •     DPN_
    • TRANSER
    • TRANSFER
    • _TO_BRIDGE
    • _COMPLETE
    • TRANSFER
    •     TRANSFERRING_TO_DURACLOUD
    • _COMPLETE
    •     VERIFYING_TRANSFERRED_CONTENT
    •     RESTORATION_COMPLETE