cast-negative-vote action endpoint
URL: /assets/<id>/cast-negative-vote.<format>
Supported Methods
POST | Send a negative vote/thumbs up for an asset. |
POST Request Object Type
This endpoint accepts the following properties in POST requests:
Response Object Type
This endpoint returns an object with the following properties:
- negativeVoteCount (integer)
- The new sum of negative votes for the asset.
Client Library Methods for PHP
- Send a negative vote/thumbs up for an asset.
$tp->assets->castNegativeVote(array( # Required Parameters "id" => $id, "payload" => $payload, ))