<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in JsonRpcServer.php</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2025</copyright>
    <generator>Java</generator><item>
        <title>093fe67e98c0cdb4b73fd46938e49b64971483c2 - updated rector and applied it</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Remote/JsonRpcServer.php#093fe67e98c0cdb4b73fd46938e49b64971483c2</link>
        <description>updated rector and applied it

            List of files:
            /dokuwiki/inc/Remote/JsonRpcServer.php</description>
        <pubDate>Sat, 07 Mar 2026 20:26:13 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>5c3fa1237fed70959d8f7612243d02b0d8dd40d8 - do not return zero error code for API exceptions. fixes #4413</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Remote/JsonRpcServer.php#5c3fa1237fed70959d8f7612243d02b0d8dd40d8</link>
        <description>do not return zero error code for API exceptions. fixes #4413

            List of files:
            /dokuwiki/inc/Remote/JsonRpcServer.php</description>
        <pubDate>Wed, 12 Mar 2025 08:16:32 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>ba15f985c4b85f33c267c8f76eefdc0d8bd97e11 - API: ignore charset when checking content types</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Remote/JsonRpcServer.php#ba15f985c4b85f33c267c8f76eefdc0d8bd97e11</link>
        <description>API: ignore charset when checking content typesWe still expect all communication to be in UTF-8, but we really don&apos;tneed a charset attribute for that.fixes #4218, replaces #4219

            List of files:
            /dokuwiki/inc/Remote/JsonRpcServer.php</description>
        <pubDate>Thu, 22 Feb 2024 17:22:47 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>d48c2b252a339bed693da46fae768d93f4b3fe41 - API: code style fixes</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Remote/JsonRpcServer.php#d48c2b252a339bed693da46fae768d93f4b3fe41</link>
        <description>API: code style fixes

            List of files:
            /dokuwiki/inc/Remote/JsonRpcServer.php</description>
        <pubDate>Sun, 07 Jan 2024 12:32:25 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>5e47e6df3b30a73e6df46aa75fcc4008d9b60ebb - API added simple JSONRPC tests</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Remote/JsonRpcServer.php#5e47e6df3b30a73e6df46aa75fcc4008d9b60ebb</link>
        <description>API added simple JSONRPC tests

            List of files:
            /dokuwiki/inc/Remote/JsonRpcServer.php</description>
        <pubDate>Sun, 07 Jan 2024 10:53:55 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>b433b69e7dcd75265f237b6637ab5f34a7c40a74 - API: remove file and date transformations</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Remote/JsonRpcServer.php#b433b69e7dcd75265f237b6637ab5f34a7c40a74</link>
        <description>API: remove file and date transformationsWe always deal with timestamps or base64 now. Removing some of the magicmakes everything less complex.Only affected plugin is confmanager, which needs an update.

            List of files:
            /dokuwiki/inc/Remote/JsonRpcServer.php</description>
        <pubDate>Fri, 05 Jan 2024 16:15:35 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>42e66c7a3a46f444860e00bbf95403ac2b5cbc8f - First go at refactoring the API mechanisms</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Remote/JsonRpcServer.php#42e66c7a3a46f444860e00bbf95403ac2b5cbc8f</link>
        <description>First go at refactoring the API mechanismsThis introduces an ApiCall class that wraps around the actual methodthat produces the result. This replaces various loose array structuresthat provided the meta information before.The ApiCall streamlines the aggregation of meta information between coreand plugin methods. Now all data is produced by Reflection basedintrospection. Certain aspects can be overridden if needed. SeeApiCore::getRemoteInfo() for examplesThis change removes the _getMethods() method from remote plugins andintroduces a getMethods() method. The two are NOT compatible as thelatter now returns a list of ApiCalls. However when looking at theexisting plugins, it seems that _getMethods() was nearly 100% obsoletewith the Reflection based default implementation. So most plugins willnot be affected at all. Some might now export one or two more methodsthan before because of poor visibility settings (eg. not declaringprivate/protected methods as such).This change removes the RPC_CALL_ADD hook. Only a single plugin everimplemented it. I&apos;m not sure what this hook was supposed to do anyway.Being able to declare arbitrarily named API endpoints seems wrong to meanyway.The new ApiCall now also supports passing named instead of positionalparameters. This will open up a new opportunity to get a proper openapispec running.Next step is fixing the tests.

            List of files:
            /dokuwiki/inc/Remote/JsonRpcServer.php</description>
        <pubDate>Thu, 30 Nov 2023 18:57:15 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>8a3002c918dcbc0df00a62df4d4d3b17169408de - &#55358;&#56598; Rector and PHPCS fixes</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Remote/JsonRpcServer.php#8a3002c918dcbc0df00a62df4d4d3b17169408de</link>
        <description>&#55358;&#56598; Rector and PHPCS fixes

            List of files:
            /dokuwiki/inc/Remote/JsonRpcServer.php</description>
        <pubDate>Wed, 29 Nov 2023 15:10:52 +0000</pubDate>
        <dc:creator>splitbrain &lt;splitbrain@users.noreply.github.com&gt;</dc:creator>
    </item>
<item>
        <title>f0319d45caf727273bcf114058d27225d1ae911a - Merge pull request #4113 from dokuwiki/jsonrpc-conformity</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Remote/JsonRpcServer.php#f0319d45caf727273bcf114058d27225d1ae911a</link>
        <description>Merge pull request #4113 from dokuwiki/jsonrpc-conformityJSONRPC Standards

            List of files:
            /dokuwiki/inc/Remote/JsonRpcServer.php</description>
        <pubDate>Wed, 29 Nov 2023 15:09:34 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>36d0338876900650da2397453a73a9012c0de8fd - JSON-RPC: we do not support named parameters</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Remote/JsonRpcServer.php#36d0338876900650da2397453a73a9012c0de8fd</link>
        <description>JSON-RPC: we do not support named parametersEven though this would be valid in JSON-RPC 2.0 we don&apos;t support itcurrently. This adds the proper error handling for that.

            List of files:
            /dokuwiki/inc/Remote/JsonRpcServer.php</description>
        <pubDate>Tue, 28 Nov 2023 16:08:34 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>8d29459329e132038216a3e3384a1136f5ef74b3 - JSON-RPC: throw proper error on invalid JSON</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Remote/JsonRpcServer.php#8d29459329e132038216a3e3384a1136f5ef74b3</link>
        <description>JSON-RPC: throw proper error on invalid JSON

            List of files:
            /dokuwiki/inc/Remote/JsonRpcServer.php</description>
        <pubDate>Tue, 28 Nov 2023 16:08:02 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>6f8e03f5bc790d26e1215349cea98d5a73654139 - implement support for JSON-RPC 1.0, 1.1 and 2.0</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Remote/JsonRpcServer.php#6f8e03f5bc790d26e1215349cea98d5a73654139</link>
        <description>implement support for JSON-RPC 1.0, 1.1 and 2.0This implements the slightly more standardized JSON-RPC standard as analternative to my home-grown version. The same server handled all formatsincluding my own simpler variant.

            List of files:
            /dokuwiki/inc/Remote/JsonRpcServer.php</description>
        <pubDate>Tue, 28 Nov 2023 15:47:44 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>cf927d07914d82d58a7663afc5d95be13e10f1a3 - &#55358;&#56598; Rector and PHPCS fixes</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Remote/JsonRpcServer.php#cf927d07914d82d58a7663afc5d95be13e10f1a3</link>
        <description>&#55358;&#56598; Rector and PHPCS fixes

            List of files:
            /dokuwiki/inc/Remote/JsonRpcServer.php</description>
        <pubDate>Tue, 28 Nov 2023 13:37:14 +0000</pubDate>
        <dc:creator>splitbrain &lt;splitbrain@users.noreply.github.com&gt;</dc:creator>
    </item>
<item>
        <title>87603a0ae6bb5f9492d204f5b6cdd611ac4bc13a - handle JSON encode/decode errors in JSONRPC API</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Remote/JsonRpcServer.php#87603a0ae6bb5f9492d204f5b6cdd611ac4bc13a</link>
        <description>handle JSON encode/decode errors in JSONRPC API

            List of files:
            /dokuwiki/inc/Remote/JsonRpcServer.php</description>
        <pubDate>Tue, 28 Nov 2023 13:29:17 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>8fae2e993b23f293b26b9cd4fd3585c9bcdb4dc1 - Check method and content type in JSONRPC server</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Remote/JsonRpcServer.php#8fae2e993b23f293b26b9cd4fd3585c9bcdb4dc1</link>
        <description>Check method and content type in JSONRPC serverAddresses #3991

            List of files:
            /dokuwiki/inc/Remote/JsonRpcServer.php</description>
        <pubDate>Fri, 09 Jun 2023 19:47:28 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>f657e5d050d6b1d1cb1ea1c656f5aec61f5067de - Add JSON based alternative to XMLRPC</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Remote/JsonRpcServer.php#f657e5d050d6b1d1cb1ea1c656f5aec61f5067de</link>
        <description>Add JSON based alternative to XMLRPCXMLRPC is a rather outdated and old-fashioned protocol not much in useanymore. Developers prefer simpler, JSON based APIs.This adds a new &quot;JSONRPC&quot; API. Basically it exposes exactly the samemethod calls as the XMLRPC API but using JSON instead of XML. It&apos;s not aclassical REST API, but should be just as easy to use for developers.Here is an example call using CURL:  curl http://localhost/dokuwiki/lib/exe/jsonrpc.phs \     -H &apos;Content-Type: application/json&apos; \     -H &quot;Authorization: Bearer $token&quot; \     -d &apos;[&quot;wiki&quot;]&apos;Please note that the above uses the token auth implemented in #2432.Authentication via basic auth or cookies would work as well.

            List of files:
            /dokuwiki/inc/Remote/JsonRpcServer.php</description>
        <pubDate>Thu, 27 Apr 2023 06:15:37 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
</channel>
</rss>
