GET api/Article/GetArticleNum?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:

Sample not available.

text/json

Sample:

Sample not available.

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>