문제

I'm trying to implement One-Click Actions for Gmail using a 'Confirm Action'. The developer page specifies a 'requiresConfirmation' option [if true, additional confirmation is required before the handler executes]. I tried setting this to 'true', but didn't work.

How is this supposed to work? I'm using the following markup

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "EmailMessage",
  "description": "Verify your email address",
  "action": {
    "@type": "ConfirmAction",
    "name": "Verify Email Address",
    "handler": {
      "@type": "HttpActionHandler",
      "url": "https://mywebsite.com/verify?email=info@mywebsite.com",
      "requiresConfirmation": true
    }
  }
}
</script>

The schema validates at Schema Validator. Any help would be appreciated. The above code works otherwise.

도움이 되었습니까?

해결책

The requiresConfirmation flag is not supported yet. I'll make sure the documentation is updated to reflect the current status.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top