获取设备信息
<p><strong>简要描述:</strong> </p>
<ul>
<li>该接口用于设备信息页的用户所有设备的获取</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>https://iot.xunmingiot.com/deviceCenter/device/deviceInfo/</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
<li>GET </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;">page 否</td>
<td style="text-align: left;">string</td>
<td style="text-align: left;">页数</td>
</tr>
<tr>
<td style="text-align: left;">pid</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>json时获取数据,None时返回页面</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
max_items: 7
max_pages: 1
data: [{
device: &quot;1019300156898250&quot;
product: &quot;温湿度计&quot;
pid: &quot;001&quot;
alias: &quot;牟进龙(家)&quot;
version: &quot;a1.2.3.t001.(a)&quot;
level: &quot;个人版&quot;
extends: null
extends_name: &quot;&quot;
activate_time: &quot;2019-12-27 15:57:45&quot;
new_version: &quot;a1.2.3.t001.(a)&quot;
version_node: &quot;&lt;p&gt;webconfig规则由连接成功保存配置,修改为保存配置再连接。&lt;br&gt;&lt;/p&gt;&quot;
version_iap: &quot;00000000101.2.3&quot;
new_version_iap: &quot;00000000101.2.3&quot;
is_admin: 1
}]
curr_page: 1
has_pre: false
has_next: false</code></pre>
<p><strong>返回参数说明</strong> </p>
<ul>
<li>
<p>无 </p>
<p><strong>备注</strong> </p>
</li>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>