taskName | Name | Description | Request Body | Response Body |
---|
get-snapshots-totals | Get Snapshots Totals task | Retrieves the total count, size and files of snapshots. |
|
No Format |
---|
{
"totalCount": 1,
"totalSize": 1000,
"totalFiles": 100
} |
|
create-snapshot | Create Snapshot task | Creates a snapshot by collecting details of the snapshot and passing the request down to a bridge application which makes a copy of the contents of the space. |
No Format |
---|
{
"spaceId" : "",
"description" : "",
"userEmail" : ""
} |
|
No Format |
---|
{
"snapshotId" : "",
"status" : ""
} |
|
get-snapshot | Get Snapshot task | Retrieves the status and details of a snapshot action |
No Format |
---|
{
"snapshotId" : ""
} |
|
No Format |
---|
{
"snapshotId" : "",
"snapshotDate" : "",
"status" : "",
"sourceHost" : "",
"sourceSpaceId" : "",
"sourceStoreId" : "",
"description" : "",
"contentItemCount" : "",
"totalSizeInBytes" : ""
"alternateIds" :
["" , ""]
} |
|
cleanup-snapshot | Clean Up Snapshot task | Handles the removal of content items in a space after a snapshot has taken place |
No Format |
---|
{
"spaceId" : ""
} |
|
No Format |
---|
{
"contentExpirationDays" : ""
} |
|
complete-snapshot | Complete Snapshot task | Completes the snapshot process |
No Format |
---|
{
"spaceId" : ""
} |
|
No Format |
---|
{
"result" : ""
} |
|
complete-cancel-snapshot | Complete the cancellation of a snapshot | Handles the removal of any space properties, .collection-snapshot.properties file, and snapshot related user permissions. It should be called by the bridge after it has finished its cancellation process. |
No Format |
---|
{
"spaceId" : ""
} |
|
No Format |
---|
{
"result" : "text description of result"
} |
|
restart-snapshot | Restart Snapshot task | Restarts the snapshot process if a failure occurred while transferring from DuraCloud to the bridge. |
No Format |
---|
{
"snapshotId" : ""
} |
|
No Format |
---|
{
"snapshotId" : "",
"status" : ""
} |
|
get-snapshots | Get List of Snapshots task | Retrieves a listing of all snapshots which have been created | None |
No Format |
---|
{
"snapshots" : [
{
"snapshotId" : "",
"description" : "",
"status" : ""
},
...,
...
]
} |
|
get-snapshot-contents | Get List of Snapshot Contents task | Retrieves a listing of the contents of a particular snapshot |
No Format |
---|
{
"snapshotId" : "",
"pageNumber" : 0,
"pageSize" : 1000,
"prefix" : ""
} |
|
No Format |
---|
{
"totalCount" : 0,
"contentItems" :
[{
"contentId" : "",
"contentProperties" :
{
"" : ""
}
}]
} |
|
get-snapshot-history | Get Snapshot History task | Retrieves a listing of events which have occurred in the history of a particular snapshot |
No Format |
---|
{
"snapshotId" : "",
"pageNumber" : 0,
"pageSize" : 0
} |
|
No Format |
---|
{
"totalCount" : 0,
"historyItems" :
[{
"history" : "",
"historyDate" : 0
}]
} |
|
request-restore-snapshot | Request a snapshot restore | Sends a restore request to an duracloud admin level user. This call can be made by user with access to the snapshot in question. Action on the part of the admin receiving the request is required to initiate a restore. The value of the user email address parameter will be used for notification purposes once the restore begins. |
No Format |
---|
{
"snapshotId" : "",
"userEmail" : ""
} |
|
No Format |
---|
{
"description" : ""
} |
|
restore-snapshot | Restore Snapshot task | Initiates the restoration of a snapshot to a DuraCloud space. This call requires admin access. |
No Format |
---|
{
"snapshotId" : "",
"userEmail" : ""
} |
|
No Format |
---|
{
"spaceId" : "",
"restoreId" : "",
"status" : ""
} |
|
complete-restore | Complete Restore task | Completes the restoration action by setting up an expiration policy for restored content |
No Format |
---|
{
"spaceId" : "",
"daysToExpire" : 1
} |
|
No Format |
---|
{
"result" : ""
} |
|
get-restore | Get Snapshot Restore task | Retrieves the status and details of a restore action. Note that you must specify either the snapshotId or the restoreId, but not both. Specifying the snapshotId will return the most recent restoration matching that snapshotId. Specifying the restoreId you will get back the restoration matching that ID (as you would expect). |
No Format |
---|
{
"snapshotId" : "",
"restoreId" : ""
} |
|
No Format |
---|
{
"restoreId" : "",
"snapshotId" : "",
"status" : "",
"startDate" : "",
"endDate" : "",
"statusText" : "",
"destinationHost" : "",
"destinationPort" : "",
"destinationStoreId" : "",
"destinationSpaceId" : ""
} |
|