The Bitty Wiki Rest Api Document

To get the raw wiki markup for the page "WikiPage", GET the URL http://localhost:8000/ cgi-bin/bittywiki-rest.cgi/WikiPage. You'll get an XML data structure in which the <data> tag contains the wiki markup of the WikiPage page. If the WikiPage page doesn't exist, you'll get an error.

To modify the contents of the page "WikiPage", POST to the URL http://localhost:8000/cgi-bin/ bittywiki-rest.cgi/WikiPage. Set data equal to the wiki markup you want to write to the page, and operation to the string write. You'll receive an XML data structure in which the <message> tag contains a status message. If the WikiPage page doesn't exist, it will be automatically created.

To delete the page "WikiPage", POST to the URLhttp://localhost:8000/cgi-bin/bittywiki-rest. cgi/WikiPage. Set "operation" to the string delete. You'll receive an XML data structure in which the <message> tag contains a status message. If the WikiPage page doesn't exist, you'll get an error.

Was this article helpful?

0 0

Post a comment