- Introduction
- Changelog Release
- Local Development
- UserActivity Api
- Comment Api
- CommentV2 Api
- Post Api
UpdateComment
POST
/comment/update
Comment Api
Request
Header Params
Authorization
string
required
Body Params application/json
id
string
required
replyText
string
required
Example
{
"id": "string",
"replyText": "string"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/comment/update' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "string",
"replyText": "string"
}'
Responses
🟢200OK
application/json
Body
createdAt
string
optional
id
string
optional
isLiked
boolean
optional
isOwnComment
boolean
optional
postId
string
optional
repliedTo
object (dto.AuthorResponse)
optional
fullName
string
optional
id
string
optional
urlImage
string
optional
userId
string
optional
repliedToCommentId
string
optional
replyText
string
optional
totalLike
integer
optional
totalReply
integer
optional
updatedAt
string
optional
userId
object (dto.AuthorResponse)
optional
Example
{
"createdAt": "string",
"id": "string",
"isLiked": true,
"isOwnComment": true,
"postId": "string",
"repliedTo": {
"fullName": "string",
"id": "string",
"urlImage": "string",
"userId": "string"
},
"repliedToCommentId": "string",
"replyText": "string",
"totalLike": 0,
"totalReply": 0,
"updatedAt": "string",
"userId": {
"fullName": "string",
"id": "string",
"urlImage": "string",
"userId": "string"
}
}
Modified at 2023-01-25 05:57:12