Archive a content node (e.g. file) in the Cloud.
API Explorer URL: http://localhost:8080/api-explorer/#/storage-info/requestArchiveContent
See also:
The following POST request is used, here the nodeId refers to a content node in the Alfresco repository that we want to archive in the Cloud:http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/{nodeId}/storage-info/{content-property-qname}/archive
The POST body for this call looks like this:
Note: This is currently not supported by any Alfresco Cloud
Connector.
{ "archiveParams": { "x-amz-storage-class": "GLACIER" } }
The call looks like this:
$ curl -X POST -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'Authorization: Basic VElDS0VUXzA4ZWI3ZTJlMmMxNzk2NGNhNTFmMGYzMzE4NmNjMmZjOWQ1NmQ1OTM=' -d '{ "archiveParams": { "additionalProp1": "string", "additionalProp2": "string", "additionalProp3": "string" }}' 'http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/2b1111e5-c79e-445e-909a-46c989bc3531/storage-info/cm%3Acontent/archive' | jq % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed