Download repository content by search as a zip file

post/repository/files/content
Internal-Use Only

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.

Request Samples

1

Response Samples

1No example avaliable

Request Body

The repository search specification for download.

This representation is used when specifying a filter for batch operations.

NameTypeRequiredDescription
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"

Responses

StatusMeaningDescription
200OKContent downloaded.
400Bad RequestBad request. Invalid filter or file content search text.