make-comment-preview action endpoint
URL: /assets/<id>/make-comment-preview.<format>
Supported Methods
| POST | Send relevant data to get back a model of what the submitted comment will look like. |
POST Request Object Type
This endpoint accepts the following properties in POST requests:
- content (string)
- (Required) The body of the comment.
Response Object Type
This endpoint returns an object with the following properties:
- comment (Asset)
- A mockup of the future comment.
Client Library Methods for PHP
- Send relevant data to get back a model of what the submitted comment will look like.
$tp->assets->makeCommentPreview(array( # Required Parameters "id" => $id, "payload" => $payload, ))