Skip to main content

Overview

Updates a comment.

Request

Authentication Add authentication headers to the request. See Authentication

Method POST

Rate limit 100 requests/second

Endpoint https://API domain/apigateway/moments/comments/update

Content-Type application/json

Request Parameters

ParameterData TypeRequiredDescription
user_idstringYesComment author user ID. Maximum length: 32 characters
moment_idstringYesMoment ID. Maximum length: 32 characters
comment_idstringYesComment ID. Maximum length: 32 characters.
contentobjectYesComment content.

Request Example

POST /apigateway/moments/comments/update HTTP/1.1
appkey: appkey
Authorization: xxxxxxxxxxxxxxxxxx
Content-Type: application/json

{
"user_id":"userid1", // act as this user
"comment_id":"comment ID",
"content":{
"text":"comment content"
}
}

Response Example

{
"code":0,
"msg":"sucess"
}

Response codes

Response codesDescription