文章 Show Forum Thread REST 端点

URLs

GET api/v1/forums/{forumid}/threads/{threadid}.xml (or .json)

SHOW the details for a forum thread.

GET api/v1/forums/{forumid}/threads/{threadid}/{filename}

SHOW a forum thread file attachment.

GET api/v1/forums/threads/{contentid}.xml (or .json)

SHOW the details for a forum thread.

GET api/v1/forums/threads/{threadid}.xml (or .json)

SHOW the details for a forum thread.

请求参数

名称

类型

描述

必需

默认值

选项

ThreadId

int?

Either ThreadId or ContentId are required.

否

ContentId

Guid?

Either ThreadId or ContentId are required.

否

ForumId

int?

Forum Id

否

PostTarget

string

Do not document this property.

否

MarkAsRead

bool?

Optional parameter to mark the thread as read by the user.

否