Mercurial > libervia-backend
comparison src/bridge/bridge_constructor/bridge_template.ini @ 1224:f0c9b149ed99
bridge, memory: add "search" attribute to getHistory (filter the results with a unix globbing pattern)
author | souliane <souliane@mailoo.org> |
---|---|
date | Sat, 04 Oct 2014 10:25:32 +0200 |
parents | 96fb74a4714d |
children | f8a8434dbac7 |
comparison
equal
deleted
inserted
replaced
1223:802b7e6bf098 | 1224:f0c9b149ed99 |
---|---|
481 | 481 |
482 [getHistory] | 482 [getHistory] |
483 async= | 483 async= |
484 type=method | 484 type=method |
485 category=core | 485 category=core |
486 sig_in=ssibs | 486 sig_in=ssibss |
487 sig_out=a(dssssa{ss}) | 487 sig_out=a(dssssa{ss}) |
488 param_3_default=True | 488 param_3_default=True |
489 param_4_default="@NONE@" | 489 param_4_default='' |
490 param_5_default="@NONE@" | |
490 doc=Get history of a communication between two entities | 491 doc=Get history of a communication between two entities |
491 doc_param_0=from_jid: source JID (bare jid for catch all, full jid else) | 492 doc_param_0=from_jid: source JID (bare jid for catch all, full jid else) |
492 doc_param_1=to_jid: dest JID (bare jid for catch all, full jid else) | 493 doc_param_1=to_jid: dest JID (bare jid for catch all, full jid else) |
493 doc_param_2=limit: max number of history elements to get (0 for the whole history) | 494 doc_param_2=limit: max number of history elements to get (0 for the whole history) |
494 doc_param_3=between: True if we want history between the two jids (in both direction), False if we only want messages from from_jid to to_jid | 495 doc_param_3=between: True if we want history between the two jids (in both direction), False if we only want messages from from_jid to to_jid |
495 doc_param_4=%(doc_profile)s | 496 doc_param_4=search: pattern to filter the history results |
497 doc_param_5=%(doc_profile)s | |
496 doc_return=Ordered list (by timestamp) of tuples (timestamp, full from_jid, full to_jid, message, type, extra) | 498 doc_return=Ordered list (by timestamp) of tuples (timestamp, full from_jid, full to_jid, message, type, extra) |
497 | 499 |
498 [addContact] | 500 [addContact] |
499 type=method | 501 type=method |
500 category=core | 502 category=core |