Use this endpoint to retrieve the binary data for a single chunk. Make one request per chunk per chunk set, using chunkId values 0 through ChunkCount - 1 (where ChunkCount is obtained from the Retrieve details of a content transfer operation response).
Make this request in your source environment.
The response body contains a binary stream of serialized item data. The first chunk in a given set also includes a header. Every chunk you retrieve must also be saved to the destination environment using the Save a data chunk to the destination environment endpoint. You can retrieve and save chunks in parallel, but all chunks in a set must be saved before you can complete that chunk set.
Depending on whether the chunk represents a media item or a content item, the data will either be compressed or encrypted, and the returned value of IsMedia will either be true or false:
- Media data (
IsMedia=true) is compressed. - Content data (
IsMedia=false) is encrypted.
Content description metadata is exposed via Content-Disposition header parameters:
ItemsProcessed: number of successfully processed items written into the streamItemsSkipped: number of items in the chunk that were skipped (failed / filtered)IsMedia: indicates whether the returned payload was compressed (true) or encrypted (false).
The unique identifier of the transfer operation. This is the UUID you provided when you created a content transfer operation.
- https://your-environment.sitecorecloud.iohttps://your-environment.sitecorecloud.io/sitecore/api/content/transfer/v1/transfers/{transferId}/chunksets/{chunksetId}/chunks/{chunkId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
curl -i -X GET \
'https://your-environment.sitecorecloud.io/sitecore/api/content/transfer/v1/transfers/{transferId}/chunksets/{chunksetId}/chunks/{chunkId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- application/json
- text/json
- application/xml
- text/xml
- text/html
"UkFJRgEAAAA="