Sorry for the confusion - your email got mis-routed by my gmail
filters and I didn't see it until now. The documentation for v1 wikis
is at api.pbwiki.com and for v2 wikis the documentation is on the wiki
itself at {wikiname}.pbwiki.com/api_v2/
v2 wikis have the api enabled by default so you can just start
experimenting. If you'd like the api enabled for a v1 wiki, email me
directly and I'll enable that particular wiki's api.
Best,
-Nathan
--
New office! 1825 South Grant Street, Suite 850 San Mateo 94402
New home! 21677 Rainbow Drive Cupertino 95014
New phone! 415.420.1647
i H
is there some other way to read the docs? Is there a special reason
that they should be readable by logged in admins only?
Finally, I am curious to see what v2 api is but have a v1 wiki with some
applications using v1 api to access it. Can I try both at a time?
Richard
* No category:
o GetOps
o Help
o Ping
* Meta:
o GetTimes
* Folders:
o DeleteFolder
o GetFolders
o GetPageFolder
o RenameFolder
o SetPageFolder
* Bundle:
o GetBundle
* Pages:
o AppendPage
o DeleteAutosave
o DeletePage (unimp.)
o GetAutosave
o GetCurrentPages
o GetPage
o GetPageRevisions
o GetPageSecurity
o GetPages
o PrependPage
o PutAutosave
o PutPage
o RenamePage
o SetPageLock
o UnlockPage
* Tags:
o AddPageTag
o DeletePageTag
o GetPageTags
o GetTagPages
o GetTags
o SetPageTags
* Internal:
o GetFileListAsHtml
o GetPageListAsHtml
o GetThingbar
* Changes:
o GetChanges (unimp.)
o GetPageChanges (unimp.)
* Users:
o GetUserChanges (unimp.)
o GetUserInfo
o GetUsersInfos
* Files:
o DeleteFile (unimp.)
o GetFile (unimp.)
o GetFiles
o PutFile (unimp.)
o RenameFile (unimp.)
* Tasks:
o GetTaskListAsHtml
* Security:
o SetFolderUserPermission
o SetPageUserPermission
the whole relation between V1 and V2 looks increasingly complex to
me.
Did I understand the docs right that you can't edit V2 wikis using
old style wikitext syntax but it seems the same wikitext is still
used internally?
I like the ability to fallback to simple methods, for example for
the benefit of simple browsers.
> Hey Richard.. I'm a Win32 programmer as well and have written a
> pbwiki.dll that encapsulates the pbwiki 1.0 and 2.0 apis if you're
> interested...
thanks for the offer, I actually I did not touch win32 in the last
10 years or so :)
I am doing my pbwiki API programming in ruby which works pretty neat
for such simple tasks.
I did not release any code because the v1 API is unfinished and I have
not started with V2 API yet.
Richard
What we do internally is leave content alone -- saved pages are
considered immutable so we won't go back and rewrite WikiStyle pages
as HTML during a migration from 1.0 to 2.0 on a particular wiki. You
can't edit a 2.0 wiki with WikiStyle text because the page save
handling code expects HTML in the POST.
Meanwhile, since we already have code in place to do WikiStyle to HTML
(for viewing pages in a browser) it's relatively simple for us to do
that transform on-demand, the first time a page is edited with the 2.0
editor. It's much the same mechanism we use now for going back and
forth between WikiStyle and HTML in the 1.0 product.
The problem is that there's really no solid way to consistently
support repeated round trips with full fidelity, and we've decided to
focus on making the best editing experience for HTML rather than
continuing to support both editing paths. I know this is aggravating
for the super-elite early adopters (and yes, I held off with WikiStyle
myself for as long as I could) but editing really has gotten better
lately. The other WYSIWYG pain point, editior loading time, will have
some interesting developments very soon. Simple browsers are probably
better-served by a properly-done mobile/simple version, rather than
shims here and there within the main product codebase. We've been
experimenting with some of these ideas but don't have anything to show
off yet.
-n