<?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 ApiCall.php</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2025</copyright>
    <generator>Java</generator><item>
        <title>d48c2b252a339bed693da46fae768d93f4b3fe41 - API: code style fixes</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Remote/ApiCall.php#d48c2b252a339bed693da46fae768d93f4b3fe41</link>
        <description>API: code style fixes

            List of files:
            /dokuwiki/inc/Remote/ApiCall.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>7de5ac5588c9296c42d9e9b42e57467e6a8b816f - Another argument parsing fix for ApiCall</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Remote/ApiCall.php#7de5ac5588c9296c42d9e9b42e57467e6a8b816f</link>
        <description>Another argument parsing fix for ApiCallWhen using named parameters, you can expect to be able to leave out anyoptional parameter and have it take it&apos;s default, even when you specifyanother &quot;later&quot; parameter. Luckily we already know all the defaults fromreflection anyway.

            List of files:
            /dokuwiki/inc/Remote/ApiCall.php</description>
        <pubDate>Sat, 06 Jan 2024 15:09:51 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>04acbb6fa78aa0b48be52e98501d8a9d113043df - API: fix named parameter handling in APICall</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Remote/ApiCall.php#04acbb6fa78aa0b48be52e98501d8a9d113043df</link>
        <description>API: fix named parameter handling in APICallWe cannot set missing paramerers to null. We need to make sure they arenot set at all.

            List of files:
            /dokuwiki/inc/Remote/ApiCall.php</description>
        <pubDate>Sat, 06 Jan 2024 14:48:08 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>6cce3332fbc12c1e250ec7e6adbad6d4dc2c74e8 - Reworked API definition</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Remote/ApiCall.php#6cce3332fbc12c1e250ec7e6adbad6d4dc2c74e8</link>
        <description>Reworked API definitionThis cleans up the API:* no more compatibility with obsolete wiki API* no more difference between wiki.* and dokuwiki.* calls -&gt; core.** use of optional parameters avoids double definitions* use Response objects for complex results* always use named primitives as input* major cleanup of docblock descriptions

            List of files:
            /dokuwiki/inc/Remote/ApiCall.php</description>
        <pubDate>Fri, 05 Jan 2024 12:19:42 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>dd7472d3f89d3f537224163206d7dbf31ffdad22 - OpenAPI Gen: handle Object to Schema transformation correctly</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Remote/ApiCall.php#dd7472d3f89d3f537224163206d7dbf31ffdad22</link>
        <description>OpenAPI Gen: handle Object to Schema transformation correctlyAll the basic mechanisms should now be in place to clean up the API

            List of files:
            /dokuwiki/inc/Remote/ApiCall.php</description>
        <pubDate>Thu, 04 Jan 2024 12:29:22 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>8ddd9b69189e5c591f86c9f4314a06ec13778622 - OpenAPI Generator. Better DocBlock parsing [WIP]</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Remote/ApiCall.php#8ddd9b69189e5c591f86c9f4314a06ec13778622</link>
        <description>OpenAPI Generator. Better DocBlock parsing [WIP]This introduces a new DocBlock parser to properly generate APIspecifications. It also introduces the concept of Response classes tobetter specify the response format.This is still very much in progress.

            List of files:
            /dokuwiki/inc/Remote/ApiCall.php</description>
        <pubDate>Fri, 22 Dec 2023 08:30:59 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>66f07661cd824ab6f523f24178dd048002075505 - OpenAPI Gen: @link tag, examples for known params</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Remote/ApiCall.php#66f07661cd824ab6f523f24178dd048002075505</link>
        <description>OpenAPI Gen: @link tag, examples for known params

            List of files:
            /dokuwiki/inc/Remote/ApiCall.php</description>
        <pubDate>Thu, 07 Dec 2023 11:54:08 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>b05603ab331d57d14a1b26cd6b4d540ffe3699e3 - fix type parsing for more complex types</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Remote/ApiCall.php#b05603ab331d57d14a1b26cd6b4d540ffe3699e3</link>
        <description>fix type parsing for more complex types

            List of files:
            /dokuwiki/inc/Remote/ApiCall.php</description>
        <pubDate>Fri, 01 Dec 2023 18:25:00 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>1468a1289a0d25e37eb42876e35e2c2efc289a88 - Fix first set of API tests</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Remote/ApiCall.php#1468a1289a0d25e37eb42876e35e2c2efc289a88</link>
        <description>Fix first set of API tests

            List of files:
            /dokuwiki/inc/Remote/ApiCall.php</description>
        <pubDate>Fri, 01 Dec 2023 13:56:28 +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/ApiCall.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/ApiCall.php</description>
        <pubDate>Thu, 30 Nov 2023 18:57:15 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
</channel>
</rss>
