POST api/Topic/QueryTopicDetail

S2:查询社区详情,对应社区详情页面 { "MemberGuid": "sample string 1", "ids": "sample string 2"}

Request Information

URI Parameters

None.

Body Parameters

AppDetailQueryParam
NameDescriptionTypeAdditional information
ids

查询信息的id或者主键

string

None.

MemberGuid

登录会员ID

string

None.

Device

手机操作系统 Android或者IOS

string

None.

Brand

设备品牌 Android 端可获取:设备品牌 /iOS 端可获取:设备名称

string

None.

Models

设备型号 Android 端可获取:型号/iOS 端可获取:机型标识符(如 iPhone14,5)

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ids": "sample string 1",
  "MemberGuid": "sample string 2",
  "Device": "sample string 3",
  "Brand": "sample string 4",
  "Models": "sample string 5"
}

application/xml, text/xml

Sample:
<AppDetailQueryParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RuitingCC.Solution.Model.Param">
  <Brand>sample string 4</Brand>
  <Device>sample string 3</Device>
  <MemberGuid>sample string 2</MemberGuid>
  <Models>sample string 5</Models>
  <ids>sample string 1</ids>
</AppDetailQueryParam>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AppDetailQueryParam'.

Response Information

Resource Description

S2:查询社区详情,对应社区详情页面 { "MemberGuid": "sample string 1", "ids": "sample string 2"}

ApTopicViewModel
NameDescriptionTypeAdditional information
TopicGUID

主键

string

None.

MemberGUID

会员id

string

None.

MemberNick

昵称

string

None.

MemberHead

头像

string

None.

CreateDate

创建时间

date

None.

TopicTitle

标题

string

None.

TopicContent

内容

string

None.

LikesCount

点赞数量

integer

None.

CommentCount

评论数量

integer

None.

Category

种类

string

None.

ImgLst

社区图片信息

Collection of AttachmentApViewModel

None.

VedioLst

社区视频信息

Collection of AttachmentApViewModel

None.

ProductLst

社区产品信息

Collection of AttachmentApViewModel

None.

MangHeLst

社区盲盒信息

Collection of AttachmentApViewModel

None.

IsLike

是否点赞 1:是 0:否

integer

None.

IsFollow

integer

None.

CommentLst

社区评论信息

Collection of ApTopicCmtViewModel

None.

TopicImg

帖子图片,仅仅在我的文章或者我的评论列表中显示

string

None.

ShareUrl

分享链接

string

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'RuitingCC.Solution.Model.ViewModel.ApTopicCmtViewModel'. Path 'CommentLst[0].ChildLst'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'RuitingCC.Solution.Model.ViewModel.ApTopicCmtViewModel'. Path 'CommentLst[0].ChildLst'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: “System.Collections.Generic.List`1[[RuitingCC.Solution.Model.ViewModel.ApTopicCmtViewModel, RuitingCC.Solution.Model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: “System.Collections.Generic.List`1[[RuitingCC.Solution.Model.ViewModel.ApTopicCmtViewModel, RuitingCC.Solution.Model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。