WikiMatrix

#1 2007-01-08 22:11:37

Robin
Member
Registered: 2007-01-08
Posts: 2

API Problem

Hi folks,

I just did a few quick tries with the API, just typing a few commands into my browser (Firefox 2 on Suse 10.2), and it doesn't seem to work as advertised.  Some of the examples work, but some don't.

http://www.wikimatrix.org/api/byproduct
worked OK, and I assume actually gave me a dump of the entire database.  I'll try not to do that too often wink

http://www.wikimatrix.org/api/byitem/Ge … es:Version
<error code="12">
Can not create XML: Item name or id "General_Features" is unknown.
</error>
(URL seems to be truncated in the middle, in the preview at least, why's that?)

http://www.wikimatrix.org/api/byitem/Datastorage:MySQL
<error code="12">
Can not create XML: Item name or id "Datastorage" is unknown.
</error>

http://www.wikimatrix.org/api/byitem/1:51
<error code="12">
Can not create XML: Item name or id "1" is unknown.
</error>

You get the picture.

So am I doing something wrong, or is something broken?

Thanks for your help,

Robin

Offline

 

#2 2007-01-09 10:16:05

andi
Administrator
From: Berlin, Germany
Registered: 2005-11-17
Posts: 182
Website

Re: API Problem

Robin wrote:

Hi folks,
http://www.wikimatrix.org/api/byitem/Ge … es:Version
<error code="12">
Can not create XML: Item name or id "General_Features" is unknown.
</error>

Ooops, you're right. There was something broken. I just fixed it.

Andi


Careful: I'm the lead developer of WikiMatrix and DokuWiki so my posts may be biased ;-)

Offline

 

#3 2007-01-09 12:03:10

Robin
Member
Registered: 2007-01-08
Posts: 2

Re: API Problem

OK thanks Andi, it works now.

Robin

Offline

 

You are not logged in.


Board footer

Forum powered by PunBB (© 2002–2005 Rickard Andersson)