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