comment

add a comment/ comment thread

Allows to create a comment

Request
Request Body schema: application/json
id
string <uuid>
parentId
required
string <uuid>
parentCommentId
required
string <uuid>
subject
required
string
message
required
string
hasStream
required
boolean
streamName
required
string
Responses
200

returned a comment object

400

Invalid parentCommentId

post/comments/addcomment
Request samples
application/json
{
  • "id": "00000000-0000-0000-0000-000000000000",
  • "parentId": "00000000-0000-0000-0000-000000000000",
  • "parentCommentId": "00000000-0000-0000-0000-000000000000",
  • "subject": "Comment data",
  • "message": "Comment message",
  • "hasStream": false,
  • "streamName": null
}
Response samples
application/json
{
  • "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
  • "parentID": "7073a4a8-6db9-4de4-b2e8-30eb30178c4f",
  • "parentCommentID": "3212c011-1cc7-48f9-90c2-4898732963e1",
  • "subject": "string",
  • "message": "string",
  • "hasStream": true,
  • "streamName": "string"
}

Allows to create a comment thread

Request
Request Body schema: application/json
id
string <uuid>
parentId
required
string <uuid>
CommentId
string <uuid>
subject
required
string
message
required
string
isPrivate
required
boolean
required
Array of objects (threadEntity)
hasStream
required
boolean
streamName
required
string
Responses
200

returned a comment object

400

Invalid parentId

post/comments/addcommentthread
Request samples
application/json
{
  • "id": "00000000-0000-0000-0000-000000000000",
  • "parentId": "00000000-0000-0000-0000-000000000000",
  • "CommentId": "00000000-0000-0000-0000-000000000000",
  • "subject": "test_comments",
  • "message": "message-1",
  • "isPrivate": false,
  • "entities": [
    ],
  • "hasStream": false,
  • "streamName": null
}
Response samples
application/json
{
  • "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
  • "commentID": "eef1c556-594d-4dbe-9684-e2a26ab97d2b",
  • "parentID": "7073a4a8-6db9-4de4-b2e8-30eb30178c4f",
  • "subject": "string",
  • "message": "string",
  • "isPrivate": true,
  • "entities": {
    },
  • "hasStream": true,
  • "streamName": "string"
}