core (memory/disco): added use_cache parameter to discoInfos/discoItems (set to False to ignore cache)
This commit is contained in:
parent
6ad80151f9
commit
9f30634f14
1 changed files with 36 additions and 22 deletions
|
|
@ -696,14 +696,16 @@ doc_return=Translated help string
|
|||
async=
|
||||
type=method
|
||||
category=core
|
||||
sig_in=sss
|
||||
sig_in=ssbs
|
||||
sig_out=(asa(sss)a{sa(a{ss}as)})
|
||||
param_1_default=u''
|
||||
param_2_default=u"@DEFAULT@"
|
||||
param_2_default=True
|
||||
param_3_default=u"@DEFAULT@"
|
||||
doc=Discover infos on an entity
|
||||
doc_param_0=entity_jid: JID to discover
|
||||
doc_param_1=node: node to use
|
||||
doc_param_2=%(doc_profile_key)s
|
||||
doc_param_2=use_cache: use cached data if available
|
||||
doc_param_3=%(doc_profile_key)s
|
||||
doc_return=discovery data:
|
||||
- list of features
|
||||
- list of identities (category, type, name)
|
||||
|
|
@ -720,14 +722,16 @@ doc_return=discovery data:
|
|||
async=
|
||||
type=method
|
||||
category=core
|
||||
sig_in=sss
|
||||
sig_in=ssbs
|
||||
sig_out=a(sss)
|
||||
param_1_default=u''
|
||||
param_2_default=u"@DEFAULT@"
|
||||
param_2_default=True
|
||||
param_3_default=u"@DEFAULT@"
|
||||
doc=Discover items of an entity
|
||||
doc_param_0=entity_jid: JID to discover
|
||||
doc_param_1=node: node to use
|
||||
doc_param_2=%(doc_profile_key)s
|
||||
doc_param_2=use_cache: use cached data if available
|
||||
doc_param_3=%(doc_profile_key)s
|
||||
doc_return=array of tuple (entity, node identifier, name)
|
||||
|
||||
[saveParamsTemplate]
|
||||
|
|
|
|||
Loading…
Reference in a new issue