文章 Update Forum Reply REST 端点

URLs

PUT api/v1/forums/{forumid}/threads/{threadid}/replies/{replyid}.xml (or .json)

UPDATE a forum reply.

请求参数

名称

类型

描述

必需

默认值

选项

ReplyId

int

Reply Id

ThreadId

int

Thread Id

ForumId

int

Forum Id

ParentReplyId

int?

Parent Reply Id

Body

string

Body

PostDate

DateTime?

Post Date

IsSuggestedAnswer

bool?

Only applied to replies to threads that are questions.

IsAnswer

bool?

Only applied to replies to threads that are questions.

SubscribeToThread

bool?

Subscribe To Thread

Tags

string

A comma separated list of tags.

ContentType

string

Used when adding a post attachment.

FileName

string

Used when adding a post attachment.

FileData

Byte[]

When adding a post attachment either FileData, FileUrl or FileUploadContext is required.

FileUploadContext

string

When adding a post attachment either FileData, FileUrl or FileUploadContext is required.

FileUrl

string

When adding a post attachment either FileData, FileUrl or FileUploadContext is required.

RemoveAttachment

bool?

Remove Attachment

EditNotes

string

Edit Notes

IsAnonymous

bool?

Is Anonymous

ExtendedAttributes

RestExtendedAttributes

Extended Attributes