core, bridge: new devicesInfosGet method to get infos on known devices of an entity
This commit is contained in:
parent
1883dbd3ab
commit
5a467b15d5
1 changed files with 139 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue