Versions Compared

Key

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

...

Panel
titleGeneral Operations

Initialize

  • Purpose: Provides all information needed to initialization the Bridge Ingest App
  • Request:  POST https://host:port/snapshot/init
  • Request Body: JSON in format:

    Code Block
    {
     "originatorEmailAddress" : "${bridge.originatorEmailAddress}",
     "duracloudEmailAddresses" : ["${bridge.duracloudEmailAddress}"],
     "dpnEmailAddresses" : ["${bridge.dpnEmailAddress}"],
     "duracloudUsername" : "${bridge.duracloudUsername}",
     "duracloudPassword" : "${bridge.duracloudPassword}",
     "awsAccessKey" : "${aws.accessKey}",
     "awsSecretKey" : "${aws.secretKey}",
     "databaseUser" : "${bridge.database.username}",
     "databasePassword" : "${bridge.database.password}",
     "databaseURL" : "${bridge.database.url}",
     "contentDirRoot" : "${bridge.contentDirRoot}",
     "workDir" : "${bridge.workDir}",
     "clean" : "${bridge.clean}"
    }
  • Response Code: 200 (on success)
  • Response Body: JSON:

    Code Block
    {"message" : "success!"}

Version

Panel
titleIngest Operations

Create Snapshot

  • Purpose: Performs a snapshot action
  • Request: PUT https://host:port/snapshot/snapshotsbridge/(snapshotId)
  • Request Body:

    Code Block
    {
     "host" : "",
     "port" : "",
     "storeId" : "",
     "spaceId" : "",
     "description" : ""
    } 
    • host - DNS host of DuraCloud instance from which snapshot can be taken
    • port - Port on which DuraCloud applications are available
    • storeID - Identifier of Chronopolis staging storage provider on DuraCloud instance
    • spaceID - Identifier of space in which snapshot content resides

  • Response Code: 200 or 201 on success (201 if snapshot request did not already exist)
  • Response Body: JSON:

    Code Block
    {
      "snapshotId" : "",
      "status": ""
    }

List All Snapshots

Snapshot Status

  • Purpose: Provides the status of a snapshot action
  • Request: GET https://host:port/bridge/snapshot/snapshots/(snapshotId)?host=&port=
    • snapshotID - Identifier of the snapshot
    • host
    • port
  • Response Code: 200 (on success)
  • Response Body: JSON:

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

    Possible values for status:

    • TRANSFERRING_TO_BRIDGE
    • WAITING_FOR_DPN_TRANSER
    • TRANSFERING_TO_DPN
    • COMPLETE

Snapshot Complete

 

Panel
titleRestore Operations

Restore Snapshot

  • Response Code: 200 (on success)
  • Response Body: JSON:

    Code Block
    {"restorationId" : ""}

     

 

Restore Complete

 

Restoration Status

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

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

    Possible values for status:

    • WAITING_FOR_DPN_TRANSER
    • TRANSFER_TO_BRIDGE_COMPLETE
    • TRANSFER_TO_DURACLOUD_COMPLETE
    • VERIFYING
    • COMPLETE