quickconnect

API整理


SYNO.FileStation.MD5

<p><strong>简要描述:</strong> </p> <ul> <li>计算文件md5</li> </ul> <p><strong>API:</strong> </p> <ul> <li><code>SYNO.FileStation.MD5</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;">file_path</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>文件路径</td> </tr> <tr> <td style="text-align: left;">method</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>start</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <p>异步,先返回一个taskid</p> <pre><code> { "data": { "taskid": "5D9848F643BFAF1E" }, "success": true } </code></pre> <p>之后根据taskId再返回md5信息:</p> <pre><code> { "data": { "finished": true, "md5": "f1d6e555cef62bcce300993cd46234a4" }, "success": true } </code></pre>

页面列表

ITEM_HTML