devel:xmlrpc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
devel:xmlrpc [2018-05-09 18:01] – move samples to separated page Klap-in | devel:xmlrpc [2018-05-29 13:48] – andi | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== XML-RPC ====== | ====== XML-RPC ====== | ||
- | [[: | ||
- | DokuWiki has an experimental | + | DokuWiki has a [[wp> |
+ | |||
+ | Plugins can add their own calls to the API using [[devel: | ||
Questions and suggestions to extend and improve the API should be directed to the [[: | Questions and suggestions to extend and improve the API should be directed to the [[: | ||
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: | ||
< | < | ||
< | < | ||
- | < | + | < |
- | Report Created on 2017-05-25 16:23:37 | + | |
- | ===== Servers ===== | + | |
- | ^ID ^Name ^Description ^IP ^Type ^OS ^Last Scan ^ | + | |
- | |18 |[[: | + | |
- | + | ||
- | </ | + | |
</ | </ | ||
</ | </ | ||
Line 163: | Line 162: | ||
^ Description | Allows you to lock or unlock a whole bunch of pages at once. Useful when you are about to do an operation over multiple pages. | | ^ Description | Allows you to lock or unlock a whole bunch of pages at once. Useful when you are about to do an operation over multiple pages. | | ||
^ Since | 2009-03-06 (1) | | ^ Since | 2009-03-06 (1) | | ||
+ | |||
+ | ==== dokuwiki.deleteUsers ==== | ||
+ | |||
+ | ^ Name | '' | ||
+ | ^ Parameters | ||
+ | ^ Data | (bool) true if the users were deleted | | ||
+ | ^ Description | Allows you to delete one or more users. Useful to implement GDPR right to be forgotten tools. | | ||
+ | ^ Since | 2018-05-24 | | ||
==== wiki.getRPCVersionSupported ==== | ==== wiki.getRPCVersionSupported ==== |
devel/xmlrpc.txt · Last modified: 2024-01-31 23:57 by Klap-in