GET api/Comment/GetCommentsNum?filterType[0]={filterType[0]}&filterType[1]={filterType[1]}&CommentType={CommentType}&onlyFirst={onlyFirst}
获取评论数量,不传表示获取全部类型
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
filterType |
不同状态 |
Collection of AuditStatusType |
Required |
CommentType |
评论类型 |
NewsStyleidType |
Default value is Unclassified |
onlyFirst |
是否仅包含帖子 |
boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
获取评论数量,不传表示获取全部类型
Dictionary of AuditStatusType [key] and integer [value]Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfEnumCommon.AuditStatusTypeNullableOfint4VGxTVAg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <KeyValueOfEnumCommon.AuditStatusTypeNullableOfint4VGxTVAg> <Key>TobeAgree</Key> <Value>1</Value> </KeyValueOfEnumCommon.AuditStatusTypeNullableOfint4VGxTVAg> </ArrayOfKeyValueOfEnumCommon.AuditStatusTypeNullableOfint4VGxTVAg>