GET api/Article/GetMemberArticleNum?articleFilterTypes[0]={articleFilterTypes[0]}&articleFilterTypes[1]={articleFilterTypes[1]}&articleType={articleType}

获取文章数量,不传表示获取全部类型

Request Information

URI Parameters

NameDescriptionTypeAdditional information
articleFilterTypes

不同状态

Collection of ArticleFilterType

Required

articleType

文章类型(文章/单页)

ArticleType

Required

Body Parameters

None.

Response Information

Resource Description

获取文章数量,不传表示获取全部类型

Dictionary of ArticleFilterType [key] and integer [value]

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfEnumArticle.ArticleFilterTypeNullableOfinthX7lSeXg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfEnumArticle.ArticleFilterTypeNullableOfinthX7lSeXg>
    <Key>All</Key>
    <Value>1</Value>
  </KeyValueOfEnumArticle.ArticleFilterTypeNullableOfinthX7lSeXg>
</ArrayOfKeyValueOfEnumArticle.ArticleFilterTypeNullableOfinthX7lSeXg>