<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://blutwald.de/index.php?action=history&amp;feed=atom&amp;title=Wiki_RPCInterface</id>
	<title>Wiki RPCInterface - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://blutwald.de/index.php?action=history&amp;feed=atom&amp;title=Wiki_RPCInterface"/>
	<link rel="alternate" type="text/html" href="https://blutwald.de/index.php?title=Wiki_RPCInterface&amp;action=history"/>
	<updated>2026-04-18T00:55:50Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Earthdawn-Wiki.v2</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://blutwald.de/index.php?title=Wiki_RPCInterface&amp;diff=4309&amp;oldid=prev</id>
		<title>Root: Die Seite wurde neu angelegt: „ JSPWiki comes with a XML-RPC interface.  For more information, see: * [http://www.xmlrpc.com/] * [JSPWiki:WikiRPCInterface] ===XML-RPC Standard API=== Here is now the API as of v1.6.12 (the command prefix being &#039;&#039;wiki.&#039;&#039;). The default URL for this API is &lt;your-wiki-url&gt;/RPC2 * &#039;&#039;&#039;array getRecentChanges( Date timestamp )&#039;&#039;&#039;: Get list of changed pages since  &#039;&#039;timestamp&#039;&#039;, which should be in UTC.  The result is an array, where each  element is a struct: **…“</title>
		<link rel="alternate" type="text/html" href="https://blutwald.de/index.php?title=Wiki_RPCInterface&amp;diff=4309&amp;oldid=prev"/>
		<updated>2024-10-22T18:37:51Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „ JSPWiki comes with a XML-RPC interface.  For more information, see: * [http://www.xmlrpc.com/] * [JSPWiki:WikiRPCInterface] ===XML-RPC Standard API=== Here is now the API as of v1.6.12 (the command prefix being &amp;#039;&amp;#039;wiki.&amp;#039;&amp;#039;). The default URL for this API is &amp;lt;your-wiki-url&amp;gt;/RPC2 * &amp;#039;&amp;#039;&amp;#039;array getRecentChanges( Date timestamp )&amp;#039;&amp;#039;&amp;#039;: Get list of changed pages since  &amp;#039;&amp;#039;timestamp&amp;#039;&amp;#039;, which should be in UTC.  The result is an array, where each  element is a struct: **…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
JSPWiki comes with a XML-RPC interface.  For more information, see:&lt;br /&gt;
* [http://www.xmlrpc.com/]&lt;br /&gt;
* [JSPWiki:WikiRPCInterface]&lt;br /&gt;
===XML-RPC Standard API===&lt;br /&gt;
Here is now the API as of v1.6.12 (the command prefix being &amp;#039;&amp;#039;wiki.&amp;#039;&amp;#039;).&lt;br /&gt;
The default URL for this API is &amp;lt;your-wiki-url&amp;gt;/RPC2&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;array getRecentChanges( Date timestamp )&amp;#039;&amp;#039;&amp;#039;: Get list of changed pages since &lt;br /&gt;
&amp;#039;&amp;#039;timestamp&amp;#039;&amp;#039;, which should be in UTC.  The result is an array, where each &lt;br /&gt;
element is a struct:&lt;br /&gt;
** &amp;#039;&amp;#039;name&amp;#039;&amp;#039; (string) : Name of the page.  The name is UTF-8 with URL &lt;br /&gt;
encoding to make it ASCII.&lt;br /&gt;
** &amp;#039;&amp;#039;lastModified&amp;#039;&amp;#039; (date) : Date of last modification, in UTC.&lt;br /&gt;
** &amp;#039;&amp;#039;author&amp;#039;&amp;#039; (string) : Name of the author (if available).  Again, name is &lt;br /&gt;
UTF-8 with URL encoding.&lt;br /&gt;
** &amp;#039;&amp;#039;version&amp;#039;&amp;#039; (int) : Current version.&lt;br /&gt;
* A page MAY be specified multiple times.  A page MAY NOT be specified multiple&lt;br /&gt;
times with the &amp;#039;&amp;#039;same&amp;#039;&amp;#039; modification date.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;int getRPCVersionSupported()&amp;#039;&amp;#039;&amp;#039;: Returns 1 with this version of the JSPWiki API.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;base64 getPage( String pagename )&amp;#039;&amp;#039;&amp;#039;: Get the raw Wiki text of page, latest &lt;br /&gt;
version. Page name &amp;#039;&amp;#039;&amp;#039;must&amp;#039;&amp;#039;&amp;#039; be UTF-8, with URL encoding.  Returned value is a &lt;br /&gt;
binary object, with UTF-8 encoded page data.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;base64 getPageVersion( String pagename, int version )&amp;#039;&amp;#039;&amp;#039;: Get the raw Wiki &lt;br /&gt;
text of page. Returns UTF-8, expects UTF-8 with URL encoding.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;base64 getPageHTML( String pagename )&amp;#039;&amp;#039;&amp;#039;: Return page in rendered HTML.  &lt;br /&gt;
Returns UTF-8, expects UTF-8 with URL encoding.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;base64 getPageHTMLVersion( String pagename, int version )&amp;#039;&amp;#039;&amp;#039;: Return page &lt;br /&gt;
in rendered HTML, UTF-8.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;array getAllPages()&amp;#039;&amp;#039;&amp;#039;: Returns a list of all pages.  The result is an array &lt;br /&gt;
of strings, again UTF-8 in URL encoding.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;struct getPageInfo( string pagename )&amp;#039;&amp;#039;&amp;#039; : returns a struct with elements&lt;br /&gt;
** &amp;#039;&amp;#039;name&amp;#039;&amp;#039; (string): the canonical page name, URL-encoded UTF-8.&lt;br /&gt;
** &amp;#039;&amp;#039;lastModified&amp;#039;&amp;#039; (date): Last modification date, UTC.&lt;br /&gt;
** &amp;#039;&amp;#039;author&amp;#039;&amp;#039; (string): author name, URL-encoded UTF-8.&lt;br /&gt;
** &amp;#039;&amp;#039;version&amp;#039;&amp;#039; (int): current version&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;struct getPageInfoVersion( string pagename, int version )&amp;#039;&amp;#039;&amp;#039; : returns a&lt;br /&gt;
struct just like plain &amp;#039;&amp;#039;getPageInfo()&amp;#039;&amp;#039;, but this time for a specific&lt;br /&gt;
version.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;array listLinks( string pagename )&amp;#039;&amp;#039;&amp;#039;: Lists all links for a given page.&lt;br /&gt;
The returned array contains structs, with the following elements:&lt;br /&gt;
** &amp;#039;&amp;#039;page&amp;#039;&amp;#039; (string) : The page name or URL the link is to.&lt;br /&gt;
** &amp;#039;&amp;#039;type&amp;#039;&amp;#039; (int) : The link type.  This is a string, with the following&lt;br /&gt;
possible values:&lt;br /&gt;
*** &amp;quot;external&amp;quot; : The link is an external hyperlink&lt;br /&gt;
*** &amp;quot;local&amp;quot; : This is a local Wiki name for hyperlinking&lt;br /&gt;
As you can see, all data is returned in a &amp;#039;&amp;#039;base64&amp;#039;&amp;#039; -type in UTF-8&lt;br /&gt;
encoding, regardless of what JSPWiki preference actually is.  Also,&lt;br /&gt;
all incoming or outcoming strings are really UTF-8, but they have been&lt;br /&gt;
URL-encoded so that the XML-RPC requirement of ASCII is fulfilled.&lt;br /&gt;
===The UTF-8 API===&lt;br /&gt;
This is exactly as the upper API, except that ALL strings should be&lt;br /&gt;
encoded in UTF-8.  Also, instead of base64 type, all methods returning&lt;br /&gt;
page data return UTF-8 format strings.&lt;br /&gt;
This does break the XML-RPC spec somewhat, but for ease of use I think&lt;br /&gt;
it is important to serve both models.  Use which one you like :-).&lt;br /&gt;
The default URL for the UTF-8 XML-RPC API is&lt;br /&gt;
&amp;lt;your-wiki-url&amp;gt;/RPCU&lt;br /&gt;
===Errors===&lt;br /&gt;
All methods which handle a page in any way can return a Fault.  Current fault&lt;br /&gt;
codes are:&lt;br /&gt;
* 1 : No such page was found.&lt;/div&gt;</summary>
		<author><name>Root</name></author>
	</entry>
</feed>