我正在创建一个具有两个按钮的操作卡,一个按钮用于打开视频的超链接,另一个按钮用于触发Webhook。它们都可以在桌面客户端和Web客户端上完美运行,但是在移动客户端(经过Apple和Android测试)上,webhook / HttpPOST按钮没有任何作用。没有错误或任何指示。
为了隐私起见,我更改了Webhook URL和媒体。
{
"@context": "https://schema.org/extensions",
"@type": "ActionCard",
"themeColor": "ff0000",
"title": "Motion Alert - North Lot",
"summary": "Motion Alert - North Lot",
"text": "![NorthLotImage](http://aka.ms/Fo983c)",
"potentialAction": [
{
"@type": "OpenUri",
"name": "View Video",
"targets":
[
{
"os": "default",
"uri": "https://www.w3schools.com/html/mov_bbb.mp4"
}
]
},
{
"@type": "HttpPOST",
"name": "Trigger Siren",
"target": "https://webhooktest.com/api/"
},
]
}