GET /asset/v1/content/assets/{id}/channelviews/{viewname}
Returns the requested channel view’s compiled HTML for the asset.
Name | Type | | Description |
---|
id | number | Required | The ID of the asset |
viewName | string | Required | The name of the asset view to retrieve |
thumbnail | boolean | | Set to true to return a base64-encoded thumbnail image |
includeHeaderFooter | boolean | | If asset has HTML or text views, set to true to include the message header and footer |
includeDesignContent | boolean | | Set to true to include design content in the thumbnail image |
Status | Name | Type | Description |
---|
200 | | | Successful response |
| compiled | string | A representation of the view |
| | | |
400 | | | Request errors |
| Message | string | The error message |
| ErrorCode | number | The specific error code |
| Documentation | string | Any specific documentation for the error |
| | | |
403 | | | Permissions error |
| Message | string | The error message |
| ErrorCode | number | The specific error code |
| Documentation | string | Any specific documentation for the error |