-
Notifications
You must be signed in to change notification settings - Fork 1
/
post.http
38 lines (37 loc) · 1002 Bytes
/
post.http
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
POST http://${domain}/answer.food HTTP/1.1
content-type: application/json
authorization: authorization TEST-API-KEY
{
"version": "2.0",
"action": {
"actionName": "FoodFighter",
"parameters": {
"food": { "type": "korean", "value": "김치" },
"price": { "type": "won", "value": "1000" }
}
},
"event": {
"token": "select_token",
"type": "AudioPlayer.PlaybackStarted",
"offset_in_milli_seconds": 2517
},
"context": {
"session": {
"accessToken": "abc123",
"id": "def456",
"isNew": true,
"isPlayBuilderRequest": false
},
"device": {
"type": "speaker.nugu.nu200",
"state": null
},
"supportedInterfaces": {
"AudioPlayer": {
"playerActivity": "PLAYING",
"token": "korean_token",
"offsetInMilliseconds": 100000
}
}
}
}