Remote Procedure Call (RPC)
Installed API version : ${rpc.version}
Protocol reference:
Below you will find a detailed description of all the RPC protocols installed in this environment. This includes supported content types as well as target URLs for anonymous and authenticated access. Use this information to interact with this environment from a remote location.
Libraries for remote procedure calls and parsing exists for most major languages and platforms - use a tested, standard library for consistent results.
# for protocol in rpc.protocols:-
For ${protocol[0]} protocol, use any one of:
-
# for ct, _ct_group in protocol[2]|groupby(1):
-
Content-Type: ${ct} header with request to:
# with
# set ct_group = _ct_group|list
-
# for h, _ in ct_group:
- ${req.abs_href(h)} for anonymous access # endfor # for h, _ in ct_group:
- ${req.abs_href.login(h)} for authenticated access # endfor
# endfor
${wiki_to_html(context, protocol[1])} -
Content-Type: ${ct} header with request to:
# with
# set ct_group = _ct_group|list
${protocol[0]}
RPC exported functions
## for="key in sorted(rpc.functions)
# for key in rpc.functions|sort:
-
# set namespace = rpc.functions[key]
-
Function Description Permission required ${function[0]} ${function[1]} ${function[2] or "By resource"}