POST api/BackEnd/AskArtlcle
小編精選列表頁 Artlcle/GetCateList Artlcle/ArtlcleList
Request Information
URI Parameters
None.
Body Parameters
AskArtlcle_Input| Name | Description | Type | Additional information |
|---|---|---|---|
| Ticket |
身份票據 |
string |
Required |
| categoryId |
類別ID |
globally unique identifier |
None. |
| forSide |
供側邊顯示 |
boolean |
None. |
| page |
頁數 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Ticket": "sample string 1",
"categoryId": "7ff2e878-3331-4498-991f-ec3b2437dea9",
"forSide": true,
"page": 3
}
text/html
Sample:
{"Ticket":"sample string 1","categoryId":"7ff2e878-3331-4498-991f-ec3b2437dea9","forSide":true,"page":3}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
小編精選列表頁 Artlcle/GetCateList Artlcle/ArtlcleList
AskArtlcle_Output| Name | Description | Type | Additional information |
|---|---|---|---|
| articles |
文章清單 |
Collection of articles |
None. |
| hotArticles |
熱門文章清單 |
Collection of articles |
None. |
| ticketVerified |
驗證是否通過 |
boolean |
None. |
| count |
總筆數 |
integer |
None. |
| page |
頁數 |
integer |
None. |
| pageCount |
總頁數 |
integer |
None. |
| categories |
類別 |
Collection of category |
None. |
| newestComment | Collection of newComment |
None. |
Response Formats
application/json, text/json
Sample:
{
"articles": [
{
"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
}
],
"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,
"count": 2,
"page": 3,
"pageCount": 4,
"categories": [
{
"name": "sample string 1",
"id": "a8d43289-07d3-4616-af25-776e38b985d1",
"count": 3
},
{
"name": "sample string 1",
"id": "a8d43289-07d3-4616-af25-776e38b985d1",
"count": 3
}
],
"newestComment": [
{
"articleNo": "sample string 1",
"title": "sample string 2",
"commentCount": "sample string 3"
},
{
"articleNo": "sample string 1",
"title": "sample string 2",
"commentCount": "sample string 3"
}
]
}
text/html
Sample:
{"articles":[{"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}],"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,"count":2,"page":3,"pageCount":4,"categories":[{"name":"sample string 1","id":"a8d43289-07d3-4616-af25-776e38b985d1","count":3},{"name":"sample string 1","id":"a8d43289-07d3-4616-af25-776e38b985d1","count":3}],"newestComment":[{"articleNo":"sample string 1","title":"sample string 2","commentCount":"sample string 3"},{"articleNo":"sample string 1","title":"sample string 2","commentCount":"sample string 3"}]}