has('spec')) { header('Content-Type: application/json'); $apigen = new OpenAPIGenerator(); echo $apigen->generate(); exit(); } ?>
This is an auto generated description and OpenAPI specification for the DokuWiki JSON-RPC API. It is generated from the source code and the inline documentation.
The following error codes are currently used in the core methods. This list may be incomplete or change in the future.
Code | Message |
---|---|
0 | Success |
' . $code['code'] . ' | ' . hsc($code['message']) . ' |
server->has('REMOTE_USER')) {
echo 'You are currently logged in as ' . hsc($INPUT->server->str('REMOTE_USER')) . '.';
echo '
API calls in this tool will be automatically executed with your permissions.';
} else {
echo 'You are currently not logged in.
';
echo 'You can provide credentials above.';
}
?>