GET NewsApi?pageindex={pageindex}&pagesize={pagesize}&isapp={isapp}&keywords={keywords}&orderby={orderby}
“Get”的文档。
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| pageindex | “pageindex”的文档。 |
Define this parameter in the request URI. |
| pagesize | “pagesize”的文档。 |
Define this parameter in the request URI. |
| isapp | “isapp”的文档。 |
Define this parameter in the request URI. |
| keywords | “keywords”的文档。 |
Define this parameter in the request URI. |
| orderby | “orderby”的文档。 |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{
"Code": 1,
"Message": "sample string 2",
"Data": [
{
"id": 1,
"Title": "sample string 2",
"ContentSub": "sample string 3",
"DateTimeDiff": "sample string 4",
"Type": "sample string 5",
"ImgUrl": "sample string 6",
"ShareUrl": "sample string 7"
},
{
"id": 1,
"Title": "sample string 2",
"ContentSub": "sample string 3",
"DateTimeDiff": "sample string 4",
"Type": "sample string 5",
"ImgUrl": "sample string 6",
"ShareUrl": "sample string 7"
},
{
"id": 1,
"Title": "sample string 2",
"ContentSub": "sample string 3",
"DateTimeDiff": "sample string 4",
"Type": "sample string 5",
"ImgUrl": "sample string 6",
"ShareUrl": "sample string 7"
}
],
"Count": 3
}