Mercurial > libervia-backend
diff src/bridge/bridge_constructor/bridge_template.ini @ 2443:81a45e7886c9
core: added a mechanism to associate short names to namespaces:
- new internal registerNamespace can be used by a plugin to associate a short name to a namespace
- new NamespacesGet bridge method retrieve those associations
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 19 Nov 2017 16:46:07 +0100 |
parents | f047d5410040 |
children | 7da86e1633a5 |
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/bridge_template.ini Sun Nov 19 16:41:59 2017 +0100 +++ b/src/bridge/bridge_constructor/bridge_template.ini Sun Nov 19 16:46:07 2017 +0100 @@ -763,3 +763,11 @@ doc_return=session informations, with at least the following keys: jid: current full jid started: date of creation of the session (Epoch time) + +[namespacesGet] +type=method +category=core +sig_in= +sig_out=a{ss} +doc=Get a dict to short name => whole namespaces +doc_return=namespaces mapping