DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:xmlrpc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
devel:xmlrpc [2018-05-24 10:56]
andi [dokuwiki.setLocks]
devel:xmlrpc [2018-05-29 13:48] (current)
andi
Line 1: Line 1:
 ====== XML-RPC ====== ====== XML-RPC ======
-[[:experimental]] 
  
-DokuWiki has an experimental [[wp>XML-RPC]] API which can be used to access/interact with your wiki from other applications. The API implements the [[http://www.ecyrd.com/JSPWiki/wiki/WikiRPCInterface2|Wiki RPC Interface 2.0 Specifications]] in the ''wiki.*'' namespace and adds additional DokuWiki specific calls in the ''dokuwiki.*'' namespace. See [[custom_webservices|web services]] for some general notes about DokuWikis possibilities.+DokuWiki has [[wp>XML-RPC]] API which can be used to access/interact with your wiki from other applications. The API implements the [[http://www.ecyrd.com/JSPWiki/wiki/WikiRPCInterface2|Wiki RPC Interface 2.0 Specifications]] in the ''wiki.*'' namespace and adds additional DokuWiki specific calls in the ''dokuwiki.*'' namespace. See [[custom_webservices|web services]] for some general notes about DokuWikis possibilities
 + 
 +Plugins can add their own calls to the API using [[devel:remote_plugins|Remote Plugin components]].
  
 Questions and suggestions to extend and improve the API should be directed to the [[:mailinglist]]. Questions and suggestions to extend and improve the API should be directed to the [[:mailinglist]].
Line 20: Line 21:
  
 ===== Sample XML Requests ===== ===== Sample XML Requests =====
 +
 +Note: you should use an XML-RPC library instead of hand-crafting your requests.
 +
 Here is an example of how to post to the API: Here is an example of how to post to the API:
 +
 <code xml> <code xml>
 POST /RPC2 HTTP/1.0 POST /RPC2 HTTP/1.0
Line 63: Line 68:
  <param>   <param> 
  <value>  <value>
- <string>======  Devices List ====== + <string>This is my page content</string>
-Report Created on 2017-05-25 16:23:37 +
-===== Servers ===== +
-^ID ^Name ^Description ^IP ^Type ^OS ^Last Scan ^ +
-|18 |[[:inventory:devices:Computer:adminserver ID-18|adminserver]] |AT/AT COMPATIBLE |192.168.1.1 |Server |Microsoft Windows 2000 Server |2017-05-25 16:09:10 | +
- +
- </string>+
  </value>  </value>
  </param>  </param>
devel/xmlrpc.txt · Last modified: 2018-05-29 13:48 by andi