未调用编程无线电 GET /上下文端点

Programmed Radio GET /context endpoint not being called

我正在尝试使用 https://developer.sonos.com/build/content-service-add-features/add-programmed-radio/ 中的指南设置编程收音机。该服务在我的端点上调用 getMetadata 并在我 select 要播放的程序时调用 /v1.0/radio/:containerId/version,但之后没有调用发送到我的 api。

版本端点正在发回

{
  "contextVersion": "CV:00001",
  "queueVersion": "QV:00001"
}

如有任何建议,我们将不胜感激。

编程无线电端点使用云端队列API,所以您必须使用最新版本,即v2.1。您的请求应该类似于:

GET http://endpoint.example.com/v2.1/radio/smapicontainer:42/version

详情见Cloud Queue API and Play audio (cloud queue)