Create comment
POST
/viewer/{mediaSourceId}/comment
Create a comment (requires can_post_comment + sign-in)
Authorizations
Parameters
Path Parameters
mediaSourceId*
Type
Requiredstring
Format
"uuid"Request Body
application/json
JSON
{
"content": "string",
"timestamp_seconds": 0,
"parent_comment_id": "string"
}
Responses
Created comment
application/json
JSON
{
"success": true,
"data": {
"comment": {
"id": "string",
"userId": "string",
"content": "string",
"createdAt": "string",
"updatedAt": "string",
"parentCommentId": "string",
"deletedAt": "string",
"timestampSeconds": 0,
"user": {
"id": "string",
"displayName": "string",
"avatarUrl": "string"
},
"attachments": [
{
"id": "string",
"attachmentType": "string",
"presignedUrl": "string",
"annotation": {
"strokes": [
{
"type": "string",
"points": [
{
"x": 0,
"y": 0
}
],
"color": "string"
}
]
}
}
],
"reactions": {
"eyes": {
"count": 0,
"users": [
{
"id": "string",
"displayName": "string",
"avatarUrl": "string"
}
]
},
"star": {
"count": 0,
"users": [
{
"id": "string",
"displayName": "string",
"avatarUrl": "string"
}
]
},
"check": {
"count": 0,
"users": [
{
"id": "string",
"displayName": "string",
"avatarUrl": "string"
}
]
}
}
}
}
}