Comments
Add a vote for the user for the given comment
Adds a vote for the user for the given comment.
post/comments/thumb
Request
- Base URLhttps://api.betaseries.com
- AuthAPI key in header X-BetaSeries-Key and API key in header X-BetaSeries-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
idstring required
ID of the comment
typestring required
Type of the vote (-1 for a downvote, 1 for an upvote)
switchstring
Whether the user switches their existing vote (default false)
localestring
Locale parameter to specify language preference
Response
Successful operation
Changes
No recorded changes to this operation across all 2 revisions of this API.