新版对象详情图集页
<p><strong>简要描述:</strong> </p>
<ul>
<li>新版对象详情图集页</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/api/v2/object_info/</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>输入参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">obj_key</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>主键</td>
</tr>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>默认为summary摘要页</td>
</tr>
</tbody>
</table>
<p>图片页- 提供与对象关联的图片的展示 images
图集页 - 提供与对象具有关联的图片对象的展示(或相似) image_set
音频页 - 提供与对象关联的音频对象的展示(或相似)audios
视频页 - 提供与对象关联的视频对象的展示(或相似)videos
数值页 - 提供与对象关联的所有数值信息的汇总以及比较分析性页面 number
文本信息页 - 提供与对象先关的文字描述或者短文本信息 text_info
一般关联对象页 - 提供所有的一般关联对象的汇总 relation
关联文章页 - 所有与对象具有关联属性的文章或者短文的汇总页 article
<strong>注意:</strong>
图片页没有分页数据,其他页面的分页数据可以通过调用结构化查询,来获取分页数据
<a href="http://192.168.3.99:12345/root/MobileAppInterface/wikis/StructureSearch_api_20190225">http://192.168.3.99:12345/root/MobileAppInterface/wikis/StructureSearch_api_20190225</a></p>
<p><strong>返回示例</strong>
对象关联的概念,每一个概念对应一个图集页面</p>
<pre><code>{
"msg": "success",
"code": 1,
"resultObj": {
"body": {
"data": [
{ "title": "李成桂假数据图片(10)", // 显示的标题
"fronttype": "image_object",
"objects": [
{
"c_name": "写真集",
"_video": [],
"tags": [],
"_audio": [],
"_img": [
"<image/jpeg:700*1050>c6571269-dd09-11e8-b0de-0894ef44da9f_1"
],
"obj_name": "尤果网美女模特妮小妖巨乳翘臀诱惑逼人爱调教",
"total": 67, //图片数量
"aka": "",
"_info": "",
"name": "c228_wbzbqdeH"
},
],
"endPos": 50,
"cname": "写真集",
"structure_query": "[c161_a56evyTa](写真集)",
"startPos": 0,
"total": 23
}
],
"relation_stat": {
"message": "",
"total": 3,
"relation_stat": [
{
"text": "电影(23)个",
"feaction": "relation"
},
{
"text": "职业(6)个",
"feaction": "relation"
},
{
"text": "动画(18)个",
"feaction": "relation"
}
],
"feaction": "object",
"title": "对象的关联数量的汇总信息"
}
},
"head": {
"current_page": "image_set",
"fronttype": "object",
"object_data": {
"info": "",
"name": "c161_a56evyTa",
"img": [],
"obj_name": "李成桂假数据",
"aka": "",
"c_name": "人物"
},
"tags": [
{
"concept": "星座",
"name": "狮子座",
"key": "c122_CVxpAcKx"
},
{
"concept": "性别",
"name": "男",
"key": "c146_fKSzscKw"
},
{
"concept": "年",
"name": "2018年",
"key": "c46_7qfjSHKv"
},
{
"concept": "民族",
"name": "汉族",
"key": "c132_Xfo2McKt"
}
]
},
"page_structure": [
{
"name": "summary",
"title": "摘要"
},
{
"name": "images",
"title": "图片页"
},
{
"name": "image_set",
"title": "图集页"
},
{
"name": "articles",
"title": "文章页"
},
{
"name": "numbers",
"title": "数值页"
},
{
"name": "relation",
"title": "关联对象页"
}
]
}
}</code></pre>
<p>适用于 视频、音频、文章,一般关联对象,关联文章页面,相似对象页,
短文本和长文本 算文章区域
<strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>