POST api/Artlcle/GetHotArticleList
取得熱門文章
Request Information
URI Parameters
None.
Body Parameters
HotArticle_Input| Name | Description | Type | Additional information |
|---|---|---|---|
| Ticket |
身份票據 |
string |
Required |
Request Formats
application/json, text/json
Sample:
{
"Ticket": "sample string 1"
}
text/html
Sample:
{"Ticket":"sample string 1"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
取得熱門文章
HotArticle_Output| Name | Description | Type | Additional information |
|---|---|---|---|
| hotArticles |
熱門文章清單 |
Collection of articles |
None. |
| ticketVerified |
驗證是否通過 |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"hotArticles": [
{
"articleNo": "sample string 1",
"title": "sample string 2",
"content": "sample string 3",
"time": "sample string 4",
"imageURL": "sample string 5",
"source": "sample string 6",
"clickcount": 7,
"commentcount": 8
},
{
"articleNo": "sample string 1",
"title": "sample string 2",
"content": "sample string 3",
"time": "sample string 4",
"imageURL": "sample string 5",
"source": "sample string 6",
"clickcount": 7,
"commentcount": 8
}
],
"ticketVerified": true
}
text/html
Sample:
{"hotArticles":[{"articleNo":"sample string 1","title":"sample string 2","content":"sample string 3","time":"sample string 4","imageURL":"sample string 5","source":"sample string 6","clickcount":7,"commentcount":8},{"articleNo":"sample string 1","title":"sample string 2","content":"sample string 3","time":"sample string 4","imageURL":"sample string 5","source":"sample string 6","clickcount":7,"commentcount":8}],"ticketVerified":true}