Mercurial > libervia-backend
diff sat/bridge/bridge_constructor/bridge_template.ini @ 3206:ae09989e9feb
core, bridge: new `devicesInfosGet` method to get infos on known devices of an entity
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 06 Mar 2020 18:19:03 +0100 |
parents | 439e2f88c3a9 |
children | 6cf4bd6972c2 |
line wrap: on
line diff
--- a/sat/bridge/bridge_constructor/bridge_template.ini Fri Mar 06 18:19:03 2020 +0100 +++ b/sat/bridge/bridge_constructor/bridge_template.ini Fri Mar 06 18:19:03 2020 +0100 @@ -944,6 +944,19 @@ jid: current full jid started: date of creation of the session (Epoch time) +[devicesInfosGet] +async= +type=method +category=core +sig_in=ss +sig_out=s +doc=Get various informations on an entity devices +doc_param_0=bare_jid: get data on known devices from this entity + empty string to get devices of the profile +doc_param_1=%(doc_profile_key)s +doc_return=list of known devices, where each item is a dict with a least following keys: + resource: device resource + [namespacesGet] type=method category=core