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

否