我指的是Amazon Alexa Smart Home的文档,我对他们给出的 JSON 正文有疑问。
{"event": {
"header": {
"namespace": "Alexa",
"name": "ErrorResponse",
"messageId": "abc-123-def-456",
"correlationToken": "dFMb0z+PgpgdDmluhJ1LddFvSqZ/jCc8ptlAKulUj90jSqg==",
"payloadVersion": "3"
},
"endpoint":{
"endpointId":"appliance-001"
},
"payload": {
"type": "ENDPOINT_UNREACHABLE",
"message": "Unable to reach endpoint 12345 because it appears to be offline"
}}}
这是来自 Alexa 的指令,还是我需要在响应中发送的事件。
谢谢