Download specific repository file version content

get/repository/items/{fileId}/versions/{fileVersion}/content

Downloads the content of a specific version of a repository file. The content is returned as a stream on the response body.

Optionally, you can provide an action status ID to monitor the completion status. To get the action status ID, first call [batchUpdate](#operationId:batchUpdate) with the action DOWNLOAD_VERSIONS, 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.

Request Samples

1

Response Samples

1Not Available

Path Parameters

NameTypeRequiredDescription
fileId
string
true

The ID of the specified repository file.

fileVersion
string
true

The specified version of the file.

Responses

StatusMeaningDescription
200OK

File version content downloaded.

404Not Found

Not found - the repository file or version could not be found.