Google Groups Home
Help | Sign in
Getting WIKI's enabled for API access
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
ja...@jac2.co.uk  
View profile
 More options May 28, 12:02 pm
From: ja...@jac2.co.uk
Date: Wed, 28 May 2008 09:02:27 -0700 (PDT)
Local: Wed, May 28 2008 12:02 pm
Subject: Getting WIKI's enabled for API access
Hi,
I e-mailed api    pbwiki     com to try and get my WIKI's enabled.  I
didn't know what was involved and I have a couple of WIKI's in V1 &
V2.  I sent the e-mail 23 apr 08 and haven't heard back yet.  I am
sure that support pointed me toward this e-mail address.

So where should I look for the:
- info on how to API enable my Wiki's?
- docs for the API's V1 & V2?
- examples (unfortunately I am a WIN32 programmer, but want to write
W32 and other add-ons).

TIA and am happy to RTFM, if only I knew where the manual was :-)

JAC.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan Schmidt  
View profile
 More options May 28, 12:09 pm
From: "Nathan Schmidt" <nschm...@gmail.com>
Date: Wed, 28 May 2008 09:09:41 -0700
Local: Wed, May 28 2008 12:09 pm
Subject: Re: [PBwiki API] Getting WIKI's enabled for API access
Hi Jason,

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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard Zidlicky  
View profile
 More options May 29, 5:44 pm
From: Richard Zidlicky <r...@linux-m68k.org>
Date: Thu, 29 May 2008 23:44:55 +0200
Local: Thurs, May 29 2008 5:44 pm
Subject: Re: [PBwiki API] Re: Getting WIKI's enabled for API access

On Wed, May 28, 2008 at 09:09:41AM -0700, Nathan Schmidt wrote:

> Hi Jason,

> 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/

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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan Schmidt  
View profile
 More options May 30, 3:20 pm
From: "Nathan Schmidt" <nschm...@gmail.com>
Date: Fri, 30 May 2008 12:20:29 -0700
Local: Fri, May 30 2008 3:20 pm
Subject: Re: [PBwiki API] Re: Getting WIKI's enabled for API access

Richard,

That's a good point - the original design allowed any logged-in user to see
the documentation, but during testing I left in a trap which prevented
non-admins from viewing. I've changed the code to get back to that state -
that will be active next week (we don't do normal production deploys on
Friday). Right now the easiest way to get a feel for the v2 API is to just
create a v2 wiki and poke around. The documentation and examples are
generated on the fly depending on who's asking, and indicate the various
permission levels available, etc.
The v1 API is possible on a 2.0 wiki but we discourage running it on a 2.0
wiki since the 1.0 codebase it's based on is not wired up for things like
folder and page permissions, and since the v1 API doesn't use user
 credentials, any pages modified by the v1 API don't render properly -
they're effectively anonymized and that doesn't always get handled
gracefully in the 2.0 UI.

Here's a list of operations pulled from my wiki just now - the ones marked
(unimp) are unimplemented but planned for future expansion. We'll be adding
more around adding and changing the wiki's user roster as well.

    * 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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tim  
View profile
 More options Jun 3, 1:59 pm
From: Tim <tim.laub...@gmail.com>
Date: Tue, 3 Jun 2008 10:59:17 -0700 (PDT)
Local: Tues, Jun 3 2008 1:59 pm
Subject: Re: Getting WIKI's enabled for API access
also.. it should be noted that there isn't a way to use the 1.0 API
with 2.0 wikis since there isn't a way to accept the terms of service
or view your pbwiki 1.0 API key even if you get your 2.0 wiki
activated with the 1.0 api.

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...

you can find the .dll in:

http://copytest.pbwiki.com/f/VisualWiki.zip

if you've got .net then you should be able to explore the objects
exposed there and start playing around..
set your wiki information by setting pbwiki.API.curwiki then start
making calls..

-Tim

On May 30, 12:20 pm, "Nathan Schmidt" <nschm...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard Zidlicky  
View profile
 More options Jun 5, 9:57 am
From: Richard Zidlicky <r...@linux-m68k.org>
Date: Thu, 5 Jun 2008 15:57:23 +0200
Local: Thurs, Jun 5 2008 9:57 am
Subject: Re: [PBwiki API] Re: Getting WIKI's enabled for API access

On Tue, Jun 03, 2008 at 10:59:17AM -0700, Tim wrote:

> also.. it should be noted that there isn't a way to use the 1.0 API
> with 2.0 wikis since there isn't a way to accept the terms of service
> or view your pbwiki 1.0 API key even if you get your 2.0 wiki
> activated with the 1.0 api.

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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan Schmidt  
View profile
 More options Jun 9, 7:24 pm
From: "Nathan Schmidt" <nathan.schm...@pbwiki.com>
Date: Mon, 9 Jun 2008 16:24:57 -0700
Local: Mon, Jun 9 2008 7:24 pm
Subject: Re: [PBwiki API] Re: Getting WIKI's enabled for API access
Hi 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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google