Get file resource content
Retrieves the content of the file resource.
Name | Type | Required | Description |
---|---|---|---|
fileId | string | true | The identifier of the file resource for which to fetch content. |
Name | Type | Required | Description |
---|---|---|---|
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. |
Name | Type | Required | Description |
---|---|---|---|
Access-Quarantine | boolean | false | If true, administrator can download the quarantine file content for analysis |
If-Range | string | false | A conditional range request. The client must specify the previously returned |
Range | string | false | A specific range request. The value specifies the required byte range--for example, bytes=0-100. |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. The stream is returned in the response body. | ||
206 | Partial Content | The partial content request succeeded. The requested range of data is in the response body. | ||
403 | Forbidden | Non privilaged user trying to access quarantine file content, will get HTTP Forbidden error | Schema | |
404 | Not Found | No content was found for the specified identifier. | Schema | |
416 | Requested Range Not Satisfiable | An invalid or non-overlapping range was specified in the `Range` request header. |