Mercurial > libervia-backend
diff sat/bridge/bridge_constructor/bridge_template.ini @ 3163:d10b2368684e
bridge: added methods to let frontends store/retrieve/delete private data
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 10 Feb 2020 22:01:53 +0100 |
parents | 130f9cb6e0ab |
children | 39d7327583e1 |
line wrap: on
line diff
--- a/sat/bridge/bridge_constructor/bridge_template.ini Sun Feb 09 23:56:42 2020 +0100 +++ b/sat/bridge/bridge_constructor/bridge_template.ini Mon Feb 10 22:01:53 2020 +0100 @@ -573,6 +573,41 @@ doc_param_2=attribute: Name of the attribute doc_param_3=%(doc_profile_key)s +[privateDataGet] +async= +type=method +category=core +sig_in=sss +sig_out=s +doc=Retrieve private data +doc_param_0=namespace: unique namespace to use +doc_param_1=key: key of the data to set +doc_param_2=%(doc_profile_key)s +doc_return=serialised data + +[privateDataSet] +async= +type=method +category=core +sig_in=ssss +sig_out= +doc=Store private data +doc_param_0=namespace: unique namespace to use +doc_param_1=key: key of the data to set +doc_param_2=data: serialised data +doc_param_3=%(doc_profile_key)s + +[privateDataDelete] +async= +type=method +category=core +sig_in=sss +sig_out= +doc=Delete private data +doc_param_0=namespace: unique namespace to use +doc_param_1=key: key of the data to delete +doc_param_3=%(doc_profile_key)s + [asyncGetParamA] async= type=method