1. Home
  2. Docs
  3. Method Calls
  4. Upvote & Downvote
  5. Upvote

Upvote

The upvote endpoint records the content upvote. It is called with the type and post_id of the upvoted content in the URI:

https://content.sorce.io/wp-json/api/v1/audio/upvote/129

Returns

If the post ID exists and can be read it returns “upvote recorded” on success and “could not record upvote” on failure.

Example return

{ “message”: “upvote recorded”}

Was this article helpful to you? Yes No

How can we help?

Leave a Reply

Your email address will not be published. Required fields are marked *