Slide 4
Slide 4 text
JSON webhook
"version": "1.0",
"session": {
"new": false,
"sessionAttributes": {},
"sessionId": "a29cfead-c5ba-474d-8745-6c1a6625f0c5",
"user": {
"userId": "U399a1e08a8d474521fc4bbd8c7b4148f",
"accessToken": "XHapQasdfsdfFsdfasdflQQ7"
}
},
"context": {
"System": {
"application": {
"applicationId": “com.example.pizzabot"
},
"user": {
"userId": "U399a1e08a8d474521fc4bbd8c7b4148f",
"accessToken": "XHapQasdfsdfFsdfasdflQQ7"
},
"device": {
"deviceId": "096e6b27-1717-33e9-b0a7-510a48658a9b",
"display": {
"size": "l100",
"orientation": "landscape",
"dpi": 96,
"contentLayer": {
"width": 640,
"height": 360
}
}
}
}
},
"request": {
"type": "IntentRequest",
"intent": {
"name": "OrderPizza",
"slots": {
"pizzaType": {
"name": "pizzaType",
"value": "ϖύϩχ"
{
"version": "1.0",
"sessionAttributes": {},
"response": {
"outputSpeech": {
"type": "SpeechList",
"values": [
{
"type": "PlainText",
"lang": "ja",
"value": "ՎΛՎͬͯΈ·͢ɻ"
},
{
"type": "URL",
"lang": "" ,
"value": “https://example.com/song.mp3”
}
]
},
"card": {},
"directives": [],
"shouldEndSession": true
}
}