Download repository content by search as a zip file
Downloads repository content as a ZIP file based on search criteria, including filter or file content search text, and returns the stream on the response body. Optionally, an action status ID can be provided to monitor the completion status. To get the action status ID, first call batchUpdate with the action DOWNLOAD_BY_FILTER, which returns the action status ID on the request header. Authorization: Requires read permission on all files and containers to be included in the ZIP file.
The repository search specification for download.
This representation is used when specifying a filter for batch operations.
Name | Type | Required | Description |
---|---|---|---|
filter | string | false | The filter to retrieve the repository files(s) to sign. Example: "and(startsWith(name,'results'),eq(primaryType,'FILE'))" |
text | string | false | The text for file content search to retrieve the repository files(s) to sign. Example: "death" |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | Content downloaded. | ||
400 | Bad Request | Bad request. Invalid filter or file content search text. |