[英]What is the correct format for `child-resource-references` responses?
TS-0004 表 7.5.2-2 指出R/6
(檢索子資源引用)調用 ( ?fu=1&rcn=6
) 應返回m2m:resourceRefList
。 這個對嗎? 我見過至少兩個開源實現返回m2m:URIList
用於此查詢。
是否有任何列出的示例顯示查詢參數組合的更完整響應列表?
你說的對。 fu=1(發現請求)和 rcn=6 應該返回一個 m2m:resourceRefList。 如:
{
"m2m:ch": [
{
"nm": "aResource",
"typ": 99,
"val": "cse-in/aResource"
},
{
"nm": "anotherResource",
"typ": 99,
"val": "cse-in/anotherResource"
}
]
}
開發人員指南中有幾個示例: https://www.onem2m.org/developer-guides
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.