Mercurial > libervia-backend
diff src/bridge/bridge_constructor/bridge_template.ini @ 1414:159d16336f87
core, bridge, jp: management of service discovery extensions (XEP-0128)
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 17 Apr 2015 22:59:35 +0200 |
parents | 3a20312d4012 |
children | 846577ff8b8f |
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/bridge_template.ini Fri Apr 17 10:39:41 2015 +0200 +++ b/src/bridge/bridge_constructor/bridge_template.ini Fri Apr 17 22:59:35 2015 +0200 @@ -614,11 +614,20 @@ type=method category=core sig_in=ss -sig_out=(asa(sss)) +sig_out=(asa(sss)a{sa(a{ss}as)}) doc=Discover infos on an entity doc_param_0=entity_jid: JID to discover doc_param_1=%(doc_profile_key)s -doc_return=discovery data +doc_return=discovery data: + - list of features + - list of identities (category, type, name) + - dictionary of extensions (FORM_TYPE as key), with value of: + - list of field which are: + - dictionary key/value where key can be: + * var + * label + * type + - list of values [discoItems] async=