v4
latestOpenAPI 3.0.42026-08-08479161867.3 KBGanjoor
post new comment (Auth)
post/api/ganjoor/comment
Request body
poemIdinteger
Poem Id
htmlCommentstring nullable
comment
inReplyToIdinteger nullable
in reply to
coupletIndexinteger nullable
couplet index - send null for unrelated to a couplet comment
Response
OK
idinteger
Id
authorNamestring nullable
author name (MySql imported field)
authorUrlstring nullable
author url (MySql imported field)
commentDatestring date-time
comment date
htmlCommentstring nullable
comment
publishStatusstring nullable
status
inReplyToIdinteger nullable
in reply to
userIdstring uuid nullable
User Id
myCommentboolean
this can be used by clients
coupletIndexinteger
couplet index
coupletSummarystring nullable
couplet summary
isBookmarkedboolean
for client
likeCountinteger
Total likes
dislikeCountinteger
Total dislikes
currentUserRatingValueinteger
+1 = Like -1 = Dislike