cast-positive-vote action endpoint

URL: /assets/<id>/cast-positive-vote.<format>

Supported Methods

POST Send a positive 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:

positiveVoteCount (integer)
The new sum of positive votes for the asset.

Client Library Methods for PHP

Send a positive vote/thumbs up for an asset.
$tp->assets->castPositiveVote(array(

    # Required Parameters
    "id" => $id,
    "payload" => $payload,

))