文章 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