Bridge Application
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!"}
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" : ""}
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"}