在尝试使用时,我一直收到错误消息。任何帮助都是非常感谢的。谢谢!
示例请求:
POST /control/v1/groups/RINCON_B8E93782FB9401400:363/playback/togglePlayPause HTTP/1.1
Host: api.ws.sonos.com
Content-Type: application/json
Content-Length: 0
Authorization: Bearer <token>
响应:
{
"fault": {
"faultstring": "Unable to route the message to a Target Endpoint",
"detail": {
"errorcode": "messaging.runtime.RouteFailed"
}
}
}
发布于 2021-08-06 16:09:41
我想你可能错过了路的一部分。端点应该是: /control/api/v1/groups/RINCON_B8E93782FB9401400:363/playback/togglePlayPause
如果developer.sonos.com上有不正确的API文档,请将详细信息发电子邮件给developer- email @sonos.com?谢谢!
https://stackoverflow.com/questions/68688248
复制