Developers » Page has not been created yet
<<
6.
      6.1
      6.2
6.
-, - , .
6.1
, session_state . , state.session. , session_state, , , . , :
  • ;
  • , "end_session": true;
  • , (1 ).
json- session_state 5 .

, , {"privet": " ?"}:
{
"version": "1.0",
"session": {
"session_id": "01bfd28fe3a326-c-2-fea35db06d4-a8930",
"user_id": "f63bc4d9e9c89abe10fbe874b5400b67c0df41f86143ec22629b00be606a1dac",
"skill_id": "5b23aa28b9cbd41ad25-21-2-60c7-121d4b",
"new": false,
"message_id": 1,
"user": {
"user_id": "c825511e862f23f3728a58cd3b15896cd243c7460237c651944b7499c7c9a425"
},
"application": {
"application_id": "f63bc4d9e9c89abe10fbe874b5400b67c0df41f86143ec22629b00be606a1dac",
"application_type": "mobile"
}
},
"response": {
"end_session": false,
"text": "-",
},
"session_state": {
"privet": " ?"
}
}

- , , :
{
"meta": {
"client_id": "MailRu-VC/1.0",
"locale": "ru_RU",
"timezone": "Europe/Moscow",
"interfaces": {
"screen": {}
},
"_city_ru": ""
},
"request": {
"command": "on_interrupt",
"original_utterance": "",
"type": "SimpleUtterance",
"nlu": {
"tokens": [
""
],
"entities": []
}
},
"session": {
"session_id": "01bfd28fe3a326-c-2-fea35db06d4-a8930",
"user_id": "f63bc4d9e9c89abe10fbe874b5400b67c0df41f86143ec22629b00be606a1dac",
"skill_id": "5b23aa28b9cbd41ad25-21-2-60c7-121d4b",
"new": false,
"message_id": 1,
"user": {
"user_id": "c825511e862f23f3728a58cd3b15896cd243c7460237c651944b7499c7c9a425"
},
"application": {
"application_id": "f63bc4d9e9c89abe10fbe874b5400b67c0df41f86143ec22629b00be606a1dac",
"application_type": "mobile"
}
},
"state": {
"session": {
"privet": " ?"
},
"user": {}
},
"version": "1.0"
}
6.2
, - . , , .
, user_state_update. state.user. json-, null .
json- user_state_update 5 .

, {"privet": " ?"}, :
{
"version": "1.0",
"session": {
"session_id": "01bfd28fe3a326-c-2-fea35db06d4-a8930",
"user_id": "f63bc4d9e9c89abe10fbe874b5400b67c0df41f86143ec22629b00be606a1dac",
"skill_id": "5b23aa28b9cbd41ad25-21-2-60c7-121d4b",
"new": false,
"message_id": 1,
"user": {
"user_id": "c825511e862f23f3728a58cd3b15896cd243c7460237c651944b7499c7c9a425"
},
"application": {
"application_id": "f63bc4d9e9c89abe10fbe874b5400b67c0df41f86143ec22629b00be606a1dac",
"application_type": "mobile"
}
},
"response": {
"end_session": false,
"text": "-",
},
"user_state_update": {
"privet": " ?"
}
}

, , , (:
{
"meta": {
"client_id": "MailRu-VC/1.0",
"locale": "ru_RU",
"timezone": "Europe/Moscow",
"interfaces": {
"screen": {}
},
"_city_ru": ""
},
"request": {
"command": "on_interrupt",
"original_utterance": "",
"type": "SimpleUtterance",
"nlu": {
"tokens": [
""
],
"entities": []
}
},
"session": {
"session_id": "01bfd28fe3a326-c-2-fea35db06d4-a8930",
"user_id": "f63bc4d9e9c89abe10fbe874b5400b67c0df41f86143ec22629b00be606a1dac",
"skill_id": "5b23aa28b9cbd41ad25-21-2-60c7-121d4b",
"new": false,
"message_id": 1,
"user": {
"user_id": "c825511e862f23f3728a58cd3b15896cd243c7460237c651944b7499c7c9a425"
},
"application": {
"application_id": "f63bc4d9e9c89abe10fbe874b5400b67c0df41f86143ec22629b00be606a1dac",
"application_type": "mobile"
}
},
"state": {
"session": {},
"user": {
"privet": " ?"
}
},
"version": "1.0"
}