Mercurial > libervia-backend
comparison sat/bridge/bridge_constructor/bridge_template.ini @ 4041:2594e1951cf7
core (bridge): `action_new` now use serialised dict for extra data.
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 15 May 2023 16:20:45 +0200 |
parents | 524856bd7b19 |
children |
comparison
equal
deleted
inserted
replaced
4040:1f967f85fc23 | 4041:2594e1951cf7 |
---|---|
118 doc_param_1=%(doc_profile)s | 118 doc_param_1=%(doc_profile)s |
119 | 119 |
120 [action_new] | 120 [action_new] |
121 type=signal | 121 type=signal |
122 category=core | 122 category=core |
123 sig_in=a{ss}sis | 123 sig_in=ssis |
124 doc=A frontend action is requested | 124 doc=A frontend action is requested |
125 doc_param_0=action_data: a dict where key can be: | 125 doc_param_0=action_data: a serialised dict where key can be: |
126 - xmlui: a XMLUI need to be displayed | 126 - xmlui: a XMLUI describing the action |
127 - progress: a progress id | 127 - progress: a progress id |
128 - meta_*: meta information on the action, used to make automation more easy, | 128 - meta_*: meta information on the action, used to make automation more easy, |
129 some are defined below | 129 some are defined below |
130 - meta_from_jid: origin of the request | 130 - meta_from_jid: origin of the request |
131 - meta_type: type of the request, can be one of: | 131 - meta_type: type of the request, can be one of: |
759 | 759 |
760 [action_launch] | 760 [action_launch] |
761 async= | 761 async= |
762 type=method | 762 type=method |
763 category=core | 763 category=core |
764 sig_in=sa{ss}s | 764 sig_in=sss |
765 sig_out=a{ss} | 765 sig_out=s |
766 param_2_default="@DEFAULT@" | 766 param_2_default="@DEFAULT@" |
767 doc=Launch a registred action | 767 doc=Launch a registred action |
768 doc_param_0=callback_id: id of the registred callback | 768 doc_param_0=callback_id: id of the registred callback |
769 doc_param_1=data: optional data | 769 doc_param_1=data: optional data |
770 doc_param_2=%(doc_profile_key)s | 770 doc_param_2=%(doc_profile_key)s |
773 | 773 |
774 [actions_get] | 774 [actions_get] |
775 type=method | 775 type=method |
776 category=core | 776 category=core |
777 sig_in=s | 777 sig_in=s |
778 sig_out=a(a{ss}si) | 778 sig_out=a(ssi) |
779 param_0_default="@DEFAULT@" | 779 param_0_default="@DEFAULT@" |
780 doc=Get all not yet answered actions | 780 doc=Get all not yet answered actions |
781 doc_param_0=%(doc_profile_key)s | 781 doc_param_0=%(doc_profile_key)s |
782 doc_return=list of data as for [action_new] (without the profile) | 782 doc_return=list of data as for [action_new] (without the profile) |
783 | 783 |