Vote

Create Vote

Create a new vote for a specific comment or page

post/votes/{target_name}/{target_id}/{choice}

Path parameters

target_name'comment' | 'page' required

The name of vote target

target_idinteger required

The target comment or page ID

choice'up' | 'down' required

The vote choice

Request body

emailstring

The user email

namestring

The username

Response

OK

downinteger required
is_downboolean required
is_upboolean required
upinteger required

Changes

Changed in 2 of the 21 revisions of this API.11