1
FIWARE PointOfInterestデータモデルを使用して、POIカテゴリ(配列)でフィルタリングしたいと思います。例えば配列の内容で照会することは可能ですか?
http://130.206.118.244:1027/v2/entities?type=PointOfInterest&options=keyValues&attrs=name,category&limit=100&q=category=="311"
あなたが言及した方法で動作しますそれはそうthe NGSIv2 specificationに探し
{
"id": "Museum-f85a8c66d617c23d33847f8110341a29",
"type": "PointOfInterest",
"name": "The Giant Squid Centre",
"category":
[
"311"
]
},
{
"id": "Museum-611f228f42c7fbfa4bd58bad94455055",
"type": "PointOfInterest",
"name": "Museo Extremeño e Iberoamericano de Arte Contemporáneo",
"category":
[
"311"
]
},