JsonRpcContrib
. Callers must authenticate
as admins, or the request will be rejected with a 403 status.
Note: If Foswiki is running in 'bootstrap' mode (without a LocalSite.cfg)
then all calls are automatically assumed to be from an admin. As soon
as a LocalSite.cfg is put in place, then the authentication set up
therein will apply, and users are required to logged in as admins.
Entry points for each of the static methods published by the
Foswiki::Configure::Query class are supported. See that class for
descriptions.
https://hamwiki.soost-hamburg.de/hamwiki/bin/jsonrpc/configure
while POSTing a request encoded according to the JSON-RPC 2.0 specification:
{ jsonrpc: "2.0", method: "getspec", params: { get : { keys: "{DataDir}" }, depth : 0 }, id: "caller's id" }
headline
(default UNKNOWN
, the root is usually '')
typename
(always SECTION
)
children
- array of child nodes (sections and keys)
{DataDir}
) have: keys
e.g. {Store}{Cupboard}
typename
(from the .spec)
SIZE
, FEEDBACK
, CHECK
![]() |
© 2025 D.Soost & D.Marxsen - All rights reserved © Of all articles by authors Trademarks are the property of their respective owners © Logo by Wikipedia, modified by Administrator | Impressum Disclaimer Datenschutzerklärung |