Download repository content
Downloads repository content and returns the stream on the response body.
If the itemId is for a file, the latest file content is downloaded by default. To download the content of a specific version, see getRepositoryFileContentByIdAndVersion operation.
If the itemId is for a container, the container and all of its children are downloaded to a ZIP file. Multiple items in the container can be downloaded to a ZIP file by providing the item names on the request body.
Optionally, an action status ID can be provided to monitor the completion status. To get the action status ID, first call [batchUpdate](#operationId:batchUpdate) with the action DOWNLOAD, which returns the action status ID on the request header.
Authorization: Requires read permission on the file for file downloads. Requires read permission on the container and children for container downloads.
| Name | Type | Required | Description |
|---|---|---|---|
itemId | string | true | The unique identifier for the repository item. |
| Name | Type | Required | Description |
|---|---|---|---|
actionStatusId | string | false | The action status ID if monitoring the completion status. The action status ID is obtained by calling batchUpdate with the action DOWNLOAD. |