Skip to content

Better documentation on how to discover things #64

Description

@atlemann

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"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions