Skip to content

Instantly share code, notes, and snippets.

@rekire
Created May 9, 2018 12:16
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save rekire/b964735f2df68f16937fb72c52375ca1 to your computer and use it in GitHub Desktop.
Save rekire/b964735f2df68f16937fb72c52375ca1 to your computer and use it in GitHub Desktop.
The fulfillment request of Dialogflow of an Actions on Google request.
{
"originalRequest": {
"data": {
"isInSandbox": true,
"surface": {
"capabilities": [ // Wear OS (former Android Wear)
{
"name": "actions.capability.SCREEN_OUTPUT"
}
],
"capabilities": [ // Google Home
{
"name": "actions.capability.AUDIO_OUTPUT"
},
{
"name": "actions.capability.MEDIA_RESPONSE_AUDIO"
}
],
"capabilities": [ // Smart Display (tested with Simulator)
{
"name": "actions.capability.AUDIO_OUTPUT"
},
{
"name": "actions.capability.SCREEN_OUTPUT"
},
{
"name": "actions.capability.MEDIA_RESPONSE_AUDIO"
}
],
"capabilities": [ // Mobile
{
"name": "actions.capability.AUDIO_OUTPUT"
},
{
"name": "actions.capability.SCREEN_OUTPUT"
},
{
"name": "actions.capability.MEDIA_RESPONSE_AUDIO"
},
{
"name": "actions.capability.WEB_BROWSER"
}
]
},
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment