has('spec')) { header('Content-Type: application/json'); $apigen = new \dokuwiki\Remote\OpenAPIGenerator(); echo $apigen->generate(); exit(); } ?> DokuWiki API Explorer

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.

Download the API Spec

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.'; } ?>