智慧工地平台接口文档

智慧工地平台接口文档


获取升降机缩略图

<h3>获取升降机缩略图</h3> <p>维护人:fanq</p> <h4>URL</h4> <ul> <li><code>POST</code> /ip:port/hoistDeviceImage/getBase64Images</li> </ul> <p>描述:获取升降机缩略图</p> <p>ContentType:<code>application/json</code></p> <h4>请求头</h4> <table> <thead> <tr> <th>名称</th> <th>必填</th> <th>描述</th> <th>示例值</th> </tr> </thead> <tbody> <tr> <td>authorization</td> <td>否</td> <td>登录token值</td> <td>Bearer Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiIyNzExYjRiMWIwODY0YmI2YTU2Y2Y0ZGJlNDE5ZjA5NSIsImF1dGgiOiJhZG1pbiIsInN1YiI6ImFkbWluIn0.6j6Q2KFpSfzwKG5nkWQ7gXdNnDbTKqVH-gNU8StmLlGCIpvuKN_2ycPrFcJaY5RPvYzQDjPoBk9J8VtSm0yLYA</td> </tr> </tbody> </table> <h4>请求参数</h4> <h5>Body Parameter</h5> <table> <thead> <tr> <th>名称</th> <th>类型</th> <th>必填</th> <th>最大长度</th> <th>描述</th> <th>示例值</th> </tr> </thead> <tbody> <tr> <td>deviceId</td> <td>int64</td> <td>否</td> <td>-</td> <td>设备id</td> <td>637</td> </tr> <tr> <td>imageName</td> <td>string</td> <td>否</td> <td>-</td> <td>图片名</td> <td>bula.lynch</td> </tr> <tr> <td>page</td> <td>int32</td> <td>否</td> <td>-</td> <td>No comments found.</td> <td>1</td> </tr> <tr> <td>size</td> <td>int32</td> <td>否</td> <td>-</td> <td>No comments found.</td> <td>10</td> </tr> <tr> <td>sort</td> <td>string</td> <td>否</td> <td>-</td> <td>No comments found.</td> <td>zdshfk</td> </tr> </tbody> </table> <h4>请求示例</h4> <pre><code>{ &amp;quot;deviceId&amp;quot;: 637, &amp;quot;imageName&amp;quot;: &amp;quot;bula.lynch&amp;quot;, &amp;quot;page&amp;quot;: 1, &amp;quot;size&amp;quot;: 10, &amp;quot;sort&amp;quot;: &amp;quot;zdshfk&amp;quot; }</code></pre> <h4>响应参数</h4> <table> <thead> <tr> <th>名称</th> <th>类型</th> <th>必填</th> <th>最大长度</th> <th>描述</th> <th>示例值</th> </tr> </thead> <tbody> <tr> <td>totalElements</td> <td>int64</td> <td>否</td> <td>-</td> <td>No comments found.</td> <td>676</td> </tr> <tr> <td>contentObj</td> <td>object</td> <td>否</td> <td></td> <td>No comments found.</td> <td></td> </tr> <tr> <td>└ id</td> <td>int64</td> <td>否</td> <td>-</td> <td>id</td> <td>450</td> </tr> <tr> <td>└ deviceId</td> <td>int64</td> <td>否</td> <td>-</td> <td>设备ID</td> <td>241</td> </tr> <tr> <td>└ imageName</td> <td>string</td> <td>否</td> <td>-</td> <td>图片名</td> <td>bula.lynch</td> </tr> <tr> <td>└ base64</td> <td>string</td> <td>否</td> <td>-</td> <td>图片base64编码</td> <td>zv2zfn</td> </tr> <tr> <td>content</td> <td>array</td> <td>否</td> <td></td> <td>No comments found.</td> <td></td> </tr> <tr> <td>└ any object</td> <td>object</td> <td>否</td> <td>-</td> <td>any object.</td> <td></td> </tr> </tbody> </table> <h4>响应示例</h4> <pre><code>{ &amp;quot;totalElements&amp;quot;: 676, &amp;quot;contentObj&amp;quot;: { &amp;quot;id&amp;quot;: 450, &amp;quot;deviceId&amp;quot;: 241, &amp;quot;imageName&amp;quot;: &amp;quot;bula.lynch&amp;quot;, &amp;quot;base64&amp;quot;: &amp;quot;zv2zfn&amp;quot; }, &amp;quot;content&amp;quot;: [ { &amp;quot;any object&amp;quot;: {} } ] }</code></pre> <h4>错误码</h4> <p>无</p>

页面列表

ITEM_HTML