Skip to content

API Vote

mkb edited this page Jul 4, 2013 · 1 revision

Vote

Voting a comment up or down

For this to work, a user must be logged in.

/vote

Example: Vote a Comment up

POST Request: http://www.example.com/rest.php/vote

POST Variables:

{
	"CommentID":11,
	"Value":1
}

Home > API

Requests

  • Text
    • get a commentable text
  • Comment
    • get a comment
    • post a new comment
    • delete a comment
  • Vote
    • like/dislike a comment
  • User
    • get the logged in user
    • login a user
    • logout a user
  • Process Step
    • get the process steps of a text

Models

Clone this wiki locally