001数据平台

大数据数据平台


字段映射详情

<h5>简要描述</h5> <ul> <li>字段映射详情接口</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xx.com/api/admin/field/2</code></li> </ul> <h5>请求方式</h5> <ul> <li>GET</li> </ul> <h5>Authorization header</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">参数值</th> <th style="text-align: left;">类型</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">Authorization</td> <td style="text-align: left;">Bearer access_token</td> <td style="text-align: left;">string</td> </tr> </tbody> </table> <h5>参数</h5> <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> </tbody> </table> <h5>返回示例</h5> <pre><code>{     &amp;quot;code&amp;quot;: 200,     &amp;quot;message&amp;quot;: &amp;quot;成功&amp;quot;,     &amp;quot;data&amp;quot;: {         &amp;quot;id&amp;quot;: 1,         &amp;quot;field&amp;quot;: &amp;quot;rid&amp;quot;,         &amp;quot;field_to&amp;quot;: &amp;quot;rid&amp;quot;,         &amp;quot;table_name&amp;quot;: &amp;quot;sample_worth&amp;quot;,         &amp;quot;question_type&amp;quot;: 0,         &amp;quot;question_title&amp;quot;: &amp;quot;&amp;quot;,         &amp;quot;is_refer&amp;quot;: 0,         &amp;quot;is_explode&amp;quot;: 0     } }</code></pre> <h5>返回参数说明</h5> <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;">code</td> <td style="text-align: left;">int</td> <td>状态码</td> </tr> <tr> <td style="text-align: left;">message</td> <td style="text-align: left;">string</td> <td>消息提示</td> </tr> <tr> <td style="text-align: left;">id</td> <td style="text-align: left;">number</td> <td>ID</td> </tr> <tr> <td style="text-align: left;">field</td> <td style="text-align: left;">string</td> <td>源字段</td> </tr> <tr> <td style="text-align: left;">field_to</td> <td style="text-align: left;">string</td> <td>存储字段</td> </tr> <tr> <td style="text-align: left;">table_name</td> <td style="text-align: left;">string</td> <td>存储表</td> </tr> <tr> <td style="text-align: left;">question_type</td> <td style="text-align: left;">number</td> <td>题目类型【0:非多选 1:多选】</td> </tr> <tr> <td style="text-align: left;">table_name</td> <td style="text-align: left;">string</td> <td>存储表</td> </tr> <tr> <td style="text-align: left;">question_title</td> <td style="text-align: left;">string</td> <td>题目描述</td> </tr> <tr> <td style="text-align: left;">is_refer</td> <td style="text-align: left;">number</td> <td>是否需要映射【0:不需要 1:需要】</td> </tr> <tr> <td style="text-align: left;">is_explode</td> <td style="text-align: left;">number</td> <td>是否需要匹配查询【0:不需要 1:需要】</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML