文章 Update Comment REST 端点

URLs

PUT api/v1/comments/{commentid}.xml (or .json)

UPDATE comments.

请求参数

名称

类型

描述

必需

默认值

选项

CommentId

Guid

Id of the comment to update.

是

Body

string

Body of the comment

否

CommentTypeId

Guid?

Type of the comment.

否

CreatedDate

DateTime?

Created date

否

SortOrder

int?

The sort order value of the comment

否

IsApproved

bool?

Approval state of the comment

否

IsFeatured

bool?

Featured state of the comment

否

ExtendedAttributes

RestExtendedAttributes

Extended Attributes

否