Mercurial > libervia-backend
diff src/bridge/bridge_constructor/bridge_template.ini @ 2536:27539029a662
core: added bare_jid and identities arguments to discoGetByFeatures:
- bare_jid indicate if we are looking for server implementation (True) of devices (False)
- identities is an optional filter, only entities with this identities set will be kept
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 26 Mar 2018 08:01:06 +0200 |
parents | 7da86e1633a5 |
children |
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/bridge_template.ini Sun Mar 25 20:51:02 2018 +0200 +++ b/src/bridge/bridge_constructor/bridge_template.ini Mon Mar 26 08:01:06 2018 +0200 @@ -738,18 +738,22 @@ async= type=method category=core -sig_in=asbbbs +sig_in=asa(ss)bbbbs sig_out=(a{sa(sss)}a{sa(sss)}a{sa(sss)}) -param_1_default=True -param_2_default=True +param_2_default=False param_3_default=True -param_4_default=u"@DEFAULT@" +param_4_default=True +param_5_default=True +param_6_default=u"@DEFAULT@" doc=Discover items of an entity doc_param_0=namespaces: namespaces of the features to check -doc_param_1=service: True to check server's services -doc_param_2=roster: True to check connected devices from people in roster -doc_param_3=own_jid: True to check profile's jid -doc_param_4=%(doc_profile_key)s +doc_param_1=identities: identities to filter +doc_param_2=bare_jid: if True only retrieve bare jids + if False, retrieve full jids of connected resources +doc_param_3=service: True to check server's services +doc_param_4=roster: True to check connected devices from people in roster +doc_param_5=own_jid: True to check profile's jid +doc_param_6=%(doc_profile_key)s doc_return=tuple of maps of found entities full jids to their identities. Maps are in this order: - services entities - own entities (i.e. entities linked to profile's jid)