Mercurial > libervia-backend
comparison src/bridge/bridge_constructor/bridge_template.ini @ 963:723f28cd15c7
core (disco): added discoInfos and discoItems bridge methods
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 01 Apr 2014 21:14:57 +0200 |
parents | 71926ec2114d |
children | fee00f2e11c2 |
comparison
equal
deleted
inserted
replaced
962:b280cf4cdf25 | 963:723f28cd15c7 |
---|---|
582 - size: end position | 582 - size: end position |
583 | 583 |
584 [getMenus] | 584 [getMenus] |
585 type=method | 585 type=method |
586 category=core | 586 category=core |
587 sig_in= si | 587 sig_in=si |
588 sig_out=a(ssasas) | 588 sig_out=a(ssasas) |
589 doc=Get all additional menus | 589 doc=Get all additional menus |
590 doc_param_0=language: language in which the menu should be translated (empty string for default) | 590 doc_param_0=language: language in which the menu should be translated (empty string for default) |
591 doc_param_1=security_limit: %(doc_security_limit)s | 591 doc_param_1=security_limit: %(doc_security_limit)s |
592 doc_return=list of tuple with the following value: | 592 doc_return=list of tuple with the following value: |
605 doc=Get help information for a menu | 605 doc=Get help information for a menu |
606 doc_param_0=menu_id: id of the menu (same as callback_id) | 606 doc_param_0=menu_id: id of the menu (same as callback_id) |
607 doc_param_1=language: language in which the menu should be translated (empty string for default) | 607 doc_param_1=language: language in which the menu should be translated (empty string for default) |
608 doc_return=Translated help string | 608 doc_return=Translated help string |
609 | 609 |
610 [discoInfos] | |
611 async= | |
612 type=method | |
613 category=core | |
614 sig_in=ss | |
615 sig_out=(asa(sss)) | |
616 doc=Discover infos on an entity | |
617 doc_param_0=entity_jid: JID to discover | |
618 doc_param_1=%(doc_profile_key)s | |
619 doc_return=discovery data | |
620 | |
621 [discoItems] | |
622 async= | |
623 type=method | |
624 category=core | |
625 sig_in=ss | |
626 sig_out=a(sss) | |
627 doc=Discover items of an entity | |
628 doc_param_0=entity_jid: JID to discover | |
629 doc_param_1=%(doc_profile_key)s | |
630 doc_return=array of tuple (entity, node identifier, name) |