GET Knowledge/getKnowledgeList?index={index}&pagenum={pagenum}&type={type}
获取知识角数据
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| index |
数据索引 |
integer |
Required |
| pagenum |
每次加载数量 |
integer |
Required |
| type |
类别 |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
获取知识角数据
Collection of KnowledgeDatasResult| Name | Description | Type | Additional information |
|---|---|---|---|
| title |
标题 |
string |
None. |
| img_url |
缩略图URL |
string |
None. |
| content_url |
内容URL |
string |
None. |
| ord |
id |
integer |
None. |
| typename |
类型名称 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": "200",
"data": [
{
"title": "sample string 1",
"img_url": "sample string 2",
"content_url": "sample string 3",
"ord": 4,
"typename": "sample string 5"
},
{
"title": "sample string 1",
"img_url": "sample string 2",
"content_url": "sample string 3",
"ord": 4,
"typename": "sample string 5"
}
],
"msg": null
}
application/xml, text/xml
Sample:
<ArrayOfKnowledgeDatasResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HL.Basis.Web.Models.Result">
<KnowledgeDatasResult>
<content_url>sample string 3</content_url>
<img_url>sample string 2</img_url>
<ord>4</ord>
<title>sample string 1</title>
<typename>sample string 5</typename>
</KnowledgeDatasResult>
<KnowledgeDatasResult>
<content_url>sample string 3</content_url>
<img_url>sample string 2</img_url>
<ord>4</ord>
<title>sample string 1</title>
<typename>sample string 5</typename>
</KnowledgeDatasResult>
</ArrayOfKnowledgeDatasResult>