[dokuwiki] Re: [XML-RPC] Differences between getPagelist and getAllPages ?

  • From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 16 Nov 2009 22:57:31 +0100

> except the parameters, what is the real benefit to have
> getPagelist over getAllPages ?

nothing. just the parameters.

> I know getAllPages will return all pages but it could be changed
> to support same parameter as getPagelist. I find it quite unclear.

getAllPages is defined in the "standard" wiki XML RPC Spec.
getPagelist is our own proprietary, more flexible version

> Also while speaking getPagelist, what am I supposed to pass as
> the "option array" parameter ? Currently I am passing an empty array.

http://www.dokuwiki.org/devel:xmlrpc#dokuwikigetpagelist gives you a
link to the API reference.

Hmmm... while looking at this... I think we might have some security
issues here... XMLRPC shouldn't allow the skipacl option I guess...

Andi

-- 
splitbrain.org
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: