Orion Context Broker v2 订阅问题
Orion Context Broker v2 subscription issue
我们正在尝试使用 Orion Context Broker v2 实现订阅,但是当我们创建新订阅时,它会返回“405 方法不允许”响应。
我们正在按照文档 (http://telefonicaid.github.io/fiware-orion/api/v2/) 进行操作,我已附上一张图片以及通过 Postman 发送的请求:
我们使用的 Orion Context Broker 版本是:
{
"orion": {
"version": "0.25.0",
"uptime": "16 d, 23 h, 49 m, 31 s",
"git_hash": "a8cf800d4e9fdd7b4293a886490c40309a5bb58c",
"compile_time": "Mon Nov 2 09:13:05 CET 2015",
"compiled_by": "fermin",
"compiled_in": "centollo"
}
}
我们是否做了与请求相关的坏事?
提前致谢。
对 create/update/delete 订阅的 NGSIv2 操作尚未在 Orion 0.26.1(撰写本文时的最新版本)中实现。该版本中与订阅相关的 NGSIv2 操作是:
GET /v2/subscriptions
,获取所有订阅
GET /v2/subscripstions/<id>
,获取给定订阅(按 ID)。
请注意,NGSIv2 仍处于测试阶段,因此有时规范先于 Orion 实施。请看the following table in order to know the current implementation status of the different operations described at the NGSIv2 draft specification。本table每月基础更新
编辑:Orion 0.27.0.
提供对 create/update/delete 订阅的 NGSIv2 操作
我们正在尝试使用 Orion Context Broker v2 实现订阅,但是当我们创建新订阅时,它会返回“405 方法不允许”响应。
我们正在按照文档 (http://telefonicaid.github.io/fiware-orion/api/v2/) 进行操作,我已附上一张图片以及通过 Postman 发送的请求:
我们使用的 Orion Context Broker 版本是:
{
"orion": {
"version": "0.25.0",
"uptime": "16 d, 23 h, 49 m, 31 s",
"git_hash": "a8cf800d4e9fdd7b4293a886490c40309a5bb58c",
"compile_time": "Mon Nov 2 09:13:05 CET 2015",
"compiled_by": "fermin",
"compiled_in": "centollo"
}
}
我们是否做了与请求相关的坏事?
提前致谢。
对 create/update/delete 订阅的 NGSIv2 操作尚未在 Orion 0.26.1(撰写本文时的最新版本)中实现。该版本中与订阅相关的 NGSIv2 操作是:
GET /v2/subscriptions
,获取所有订阅GET /v2/subscripstions/<id>
,获取给定订阅(按 ID)。
请注意,NGSIv2 仍处于测试阶段,因此有时规范先于 Orion 实施。请看the following table in order to know the current implementation status of the different operations described at the NGSIv2 draft specification。本table每月基础更新
编辑:Orion 0.27.0.
提供对 create/update/delete 订阅的 NGSIv2 操作