Returns a preview file for an asset and updates the file.
Resource URL
/analytics/assetfiles/<assetIdOrAPiName>/files/<fileId>
Formats
JSON
Available Version
57.0
HTTP Methods
GET PUT
Request parameters for GET and PUT
| Parameter Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
| assetIdOrApiName | String | The ID or API name of the asset. | Required | 52.0 |
| fileId | String | The ID of the file. | Required | 52.0 |
Response body for GET
A binary stream of the contents for the specified file.
Request body for PUT
A binary preview file.