I'm trying to switch from the deprecated REST API to the FIMP API, but I find the documentation on how to discover things a bit lacking. I'm able to list devices using the workflow described here, but how to I list, for instance, the rooms?
Is there a way to discover which queries are available? E.g. how do I know what I can put for type and val?
{
"ctime": "2019-09-04 17:36:31 +0200",
"props": {},
"resp_to": "pt:j1/mt:rsp/rt:app/rn:node-red/ad:flow1",
"serv": "vinculum",
"src": "node-red",
"tags": [],
"type": "cmd.pd7.request",
"uid": "09936904-8ec8-4280-9285-945d77bd0a74",
"val": {
"cmd": "get",
"component": null,
"id": null,
"param": {
"components": [
"device"
]
},
"requestId": 7294000000007
},
"val_t": "object",
"ver": "1"
}
I'm trying to switch from the deprecated REST API to the FIMP API, but I find the documentation on how to discover things a bit lacking. I'm able to list devices using the workflow described here, but how to I list, for instance, the rooms?
Is there a way to discover which queries are available? E.g. how do I know what I can put for
typeandval?{ "ctime": "2019-09-04 17:36:31 +0200", "props": {}, "resp_to": "pt:j1/mt:rsp/rt:app/rn:node-red/ad:flow1", "serv": "vinculum", "src": "node-red", "tags": [], "type": "cmd.pd7.request", "uid": "09936904-8ec8-4280-9285-945d77bd0a74", "val": { "cmd": "get", "component": null, "id": null, "param": { "components": [ "device" ] }, "requestId": 7294000000007 }, "val_t": "object", "ver": "1" }