Restore an archived content node (e.g. file) from the Cloud.
API Explorer URL: http://localhost:8080/api-explorer/#/storage-info/requestRestoreContentFromArchive
The following POST request is used, here the nodeId refers to a content node in the Cloud provider storage (i.e. AWS S3 or Azure Blob) that we want to restore:http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/{nodeId}/storage-info/{content-property-qname}/archive-restore
The POST body for this call has one parameter that specifies the restore priority:
- High restore priority translates to ‘Expedited’ Glacier restore tier in AWS S3 and ‘High’ rehydrate priority in Azure Blob.
- Standard restore priority translates to ‘Standard’ Glacier restore tier in AWS S3 and ‘Standard’ rehydrate priority in Azure Blob.
High restore priority request body example:
{ "restorePriority": "High" }
Standard restore priority request body example:
{ "restorePriority": "Standard" }
The call looks like this:
$ curl -X POST -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'Authorization: Basic VElDS0VUXzA4ZWI3ZTJlMmMxNzk2NGNhNTFmMGYzMzE4NmNjMmZjOWQ1NmQ1OTM=' -d '{ "restorePriority": "Standard"}' 'http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/2b1111e5-c79e-445e-909a-46c989bc3531/storage-info/cm%3Acontent/archive-restore' | jq % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed