您可以使用 /type/<type>/id/<id> 模式
You can use the /type/<type>/id/<id> pattern
在:https://fiware-orion.readthedocs.io/en/master/user/empty_types/index.html
Using empty types
You can use empty types in entities in NGSI9/NGSI10 operations. In
fact, convenience operations implicitly use empty types in this way by
default You can use the /type<type>/id/<id>
pattern instead of
in convenience operations URLs to specify a type).
如何使用/type/<type>/id/<id>
?
可以与 NGSI v2 一起使用吗?
是的,但语法略有不同,例如:
GET /v2/entities/<id>?type=<type>
在:https://fiware-orion.readthedocs.io/en/master/user/empty_types/index.html
Using empty types
You can use empty types in entities in NGSI9/NGSI10 operations. In fact, convenience operations implicitly use empty types in this way by default You can use the
/type<type>/id/<id>
pattern instead of in convenience operations URLs to specify a type).
如何使用/type/<type>/id/<id>
?
可以与 NGSI v2 一起使用吗?
是的,但语法略有不同,例如:
GET /v2/entities/<id>?type=<type>