You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Bridge Application

General 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:

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

    {"message" : "success!"}

Version

  • Purpose: Provides the current version of the Bridge Ingest App
  • Request: GET https://host:port/snapshot/version
  • Response Code: 200 (on success)
  • Response Body: JSON:

    {"version" : "1.0.0"}
Ingest Operations

Take Snapshot

  • Purpose: Performs a snapshot action
  • Request: POST https://host:port/snapshot/(host)/(port)/(storeID)/(spaceID)/(snapshotID)
    • 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
    • snapshotID - Identifier of the snapshot
  • Response Code: 200 (on success)
  • Response Body: JSON:

    {"status" : ""}

Snapshot Status

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

    {"status" : ""}
Restore Operations

 

 

 

Restore Status

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

    {"status" : ""}



     

  • No labels