Download repository content by search as a zip file

post/repository/files/content

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

1Not Available

Request Body

The repository search specification for download.

This representation is used when specifying a filter for search.

NameTypeRequiredDescription
filter
string
false

The filter to retrieve the repository files(s).

text
string
false

The text for file content search to retrieve the repository files(s) to sign.

Responses

StatusMeaningDescription
200OK

Content downloaded.

400Bad Request

Bad request. Invalid filter or file content search text.