core, bridge, jp: management of service discovery extensions (XEP-0128)

This commit is contained in:
Goffi 2015-04-17 22:59:35 +02:00
commit 35108bc5ba

View file

@ -614,11 +614,20 @@ async=
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=