Skip to content

Comment Model

Alexander Schulze edited this page Jul 11, 2013 · 3 revisions
Name Info
id Unique comment ID
TextID Text the comment is belonging to
Content Text of the comment
ctime Creation timestamp
CommentedText Text the comment is referring to (content of the selection)
TextVersion The version number when the comment was inserted
StartIndex Start of the text selection the comment is refering to (just for reference)
EndIndex End of the text selection the comment is referring to (just for reference)
GET only:
User [[User model
Likes Amount of positive votes
Dislikes Amount of negative votes
UserVote How the logged in user voted (dislike: -1 / not yet rated: 0 / like: 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