zy上云api


警告异常

<table> <thead> <tr> <th>Column Name</th> <th>Name</th> <th>Type</th> <th>Constraint</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>need_reply</td> <td>是否需要答复</td> <td>int</td> <td>-</td> <td>是否需要答复,通常用 0 或 1 表示(0 表示不需要,1 表示需要)。</td> </tr> </tbody> </table> <table> <thead> <tr> <th>Column Name</th> <th>Name</th> <th>Type</th> <th>Constraint</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>event</td> <td>事件对象</td> <td>object</td> <td>必填</td> <td>包含事件的详细信息。</td> </tr> <tr> <td>notify</td> <td>通知内容</td> <td>object</td> <td>必填</td> <td>包含事件的通知信息。</td> </tr> <tr> <td>level</td> <td>通知</td> <td>级别 string</td> <td>可选</td> <td>通知的优先级或级别,例如 <code>&amp;quot;0&amp;quot;</code> 表示普通级别。</td> </tr> <tr> <td>message</td> <td>消息内容</td> <td>string</td> <td>必填</td> <td>简短的通知消息,例如 <code>&amp;quot;电量低&amp;quot;</code>。</td> </tr> <tr> <td>is_error</td> <td>错误标识</td> <td>string</td> <td>必填</td> <td>是否为错误事件,通常用 <code>&amp;quot;true&amp;quot;</code> 或 <code>&amp;quot;false&amp;quot;</code> 表示。</td> </tr> <tr> <td>detail_message</td> <td>详细消息</td> <td>string</td> <td>可选</td> <td>更详细的事件描述,例如 <code>&amp;quot;电量低&amp;quot;</code>。</td> </tr> </tbody> </table> <pre><code class="language-json">{ &amp;quot;tid&amp;quot;: &amp;quot;6a7bfe89-c386-4043-b600-b518e10096cc&amp;quot;, &amp;quot;bid&amp;quot;: &amp;quot;42a19f36-5117-4520-bd13-fd61d818d52e&amp;quot;, &amp;quot;timestamp&amp;quot;: 1598411295123, &amp;quot;need_reply&amp;quot;: 0, &amp;quot;method&amp;quot;: &amp;quot;event.report&amp;quot;, &amp;quot;data&amp;quot;: { &amp;quot;event&amp;quot;: { &amp;quot;notify&amp;quot;: { &amp;quot;level&amp;quot;: &amp;quot;0&amp;quot;, &amp;quot;message&amp;quot;: &amp;quot;电量低&amp;quot;, &amp;quot;is_error&amp;quot;: &amp;quot;true&amp;quot;, &amp;quot;detail_message&amp;quot;: &amp;quot;电量低&amp;quot; } } } }</code></pre>

页面列表

ITEM_HTML