- Start consuming a file or blob source into a database
Starts a content transfer from Azure Blob storage or a local Sitecore file system source into the target database.
Primary workflow:
Use blobName to consume .raif files produced by the Content Transfer API from Azure Blob Storage. Example:
blobName=content-transfer-12345678-1234-1234-1234-123456789abc.raif
Secondary workflow for small, ad hoc scenarios:
Use fileName only when consuming a .raif file from the local Sitecore file system. Example:
fileName=testFile.raif
Provide either blobName or fileName, not both.
In the response, the location header contains the full path to the consumed source in the destination environment.
The final path segment following the final slash is the blob name or file name:
https://my-environment.sitecorecloud.io/sitecore/shell/api/v3/ItemsTransfer/sources/blobs/{BlobNameOrFileName}
You will use the blob name or file name in other endpoints. For example, when you retrieve the details of a transferred source.
- https://your-environment.sitecorecloud.io/sitecore/shell/api/v3/ItemsTransferhttps://your-environment.sitecorecloud.io/sitecore/shell/api/v3/ItemsTransfer/transfers/databases/{databaseName}/sources
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
curl -i -X POST \
'https://your-environment.sitecorecloud.io/sitecore/shell/api/v3/ItemsTransfer/transfers/databases/master/sources?blobName=content-transfer-12345678-1234-1234-1234-123456789abc.raif&fileName=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'No content