core, bridge: new devicesInfosGet method to get infos on known devices of an entity

This commit is contained in:
Goffi 2020-03-06 18:19:03 +01:00
commit 5a467b15d5

View file

@ -944,6 +944,19 @@ doc_return=session informations, with at least the following keys:
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