comparison 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
comparison
equal deleted inserted replaced
3205:2c0628f3927e 3206:ae09989e9feb
942 doc_param_0=%(doc_profile_key)s 942 doc_param_0=%(doc_profile_key)s
943 doc_return=session informations, with at least the following keys: 943 doc_return=session informations, with at least the following keys:
944 jid: current full jid 944 jid: current full jid
945 started: date of creation of the session (Epoch time) 945 started: date of creation of the session (Epoch time)
946 946
947 [devicesInfosGet]
948 async=
949 type=method
950 category=core
951 sig_in=ss
952 sig_out=s
953 doc=Get various informations on an entity devices
954 doc_param_0=bare_jid: get data on known devices from this entity
955 empty string to get devices of the profile
956 doc_param_1=%(doc_profile_key)s
957 doc_return=list of known devices, where each item is a dict with a least following keys:
958 resource: device resource
959
947 [namespacesGet] 960 [namespacesGet]
948 type=method 961 type=method
949 category=core 962 category=core
950 sig_in= 963 sig_in=
951 sig_out=a{ss} 964 sig_out=a{ss}