Get the file resource content for a specified version

get/files/{fileId}/version/{fileVersion}/content

Retrieves the content of the file resource for a specified version.

Request Samples

1

Response Samples

1Not Available

Path Parameters

NameTypeRequiredDescription
fileId
string
true

The identifier of the file resource for which to fetch content.

fileVersion
string
true

The version of the file resource for which to fetch content.

Query Parameters

NameTypeRequiredDescription
changeContentDisposition
boolean
false

Specifies whether to use the persisted content-disposition value. If this is specified to true and the word "attachment" appears in the content-disposition, it is changed to "inline". No other changes are made to the content-disposition value.

Header Parameters

NameTypeRequiredDescription
If-Range
string
false

A conditional range request. The client must specify the previously returned ETag as the If-Range header value. This determines whether the resource has been modified. If it has been modified, the entire file is returned. Otherwise, only partial content is returned using the Range header.

Range
string
false

A specific range request. The value specifies the required byte range--for example, bytes=0-100.

Responses

StatusMeaningDescription
200OK

The request succeeded. The stream is returned in the response body.

206Partial Content

The partial content request succeeded. The requested range of data is in the response body.

404Not Found

No content was found for the specified identifier.

Schema
416Requested Range Not Satisfiable

An invalid or non-overlapping range was specified in the Range request header.