Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
PutPage - create_if_missing
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
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
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
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
PaladinTodd  
View profile  
 More options Mar 9, 10:50 am
From: PaladinTodd <t...@paladinpgm.com>
Date: Mon, 9 Mar 2009 07:50:26 -0700 (PDT)
Local: Mon, Mar 9 2009 10:50 am
Subject: PutPage - create_if_missing
What's the syntax for a PutPage with the create_if_missing parameter?
I get an error with:

https://toddlandrumtest.pbwiki.com/api_v2/?op=PutPage&page=TestingAPI...

Returns:

array (
  '_request_id' => '231.17352564611162455845.0',
  '_valid_as_of' => 1236609812,
  'error_status' => 400,
  'error_string' => 'rejected input \'create_if_missing\'',
  'reference' => 'http://toddlandrumtest.pbwiki.com/api_v2/?#PutPage',
)


    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.
Mark Christian  
View profile  
 More options Mar 9, 1:55 pm
From: Mark Christian <mark.christ...@pbwiki.com>
Date: Mon, 9 Mar 2009 10:55:24 -0700
Local: Mon, Mar 9 2009 1:55 pm
Subject: Re: [PBwiki API] PutPage - create_if_missing
Hi Todd;
It's case sensitive -- so, create_if_missing=true.

Cheers;
— Mark


    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 Mar 9, 2:42 pm
From: Nathan Schmidt <nschm...@gmail.com>
Date: Mon, 9 Mar 2009 11:42:56 -0700
Local: Mon, Mar 9 2009 2:42 pm
Subject: Re: [PBwiki API] PutPage - create_if_missing
Also, you'll need to use a write_key or admin_key for changing data on
your wiki.

-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.
PaladinTodd  
View profile  
 More options Mar 11, 12:50 pm
From: PaladinTodd <t...@paladinpgm.com>
Date: Wed, 11 Mar 2009 09:50:12 -0700 (PDT)
Local: Wed, Mar 11 2009 12:50 pm
Subject: Re: PutPage - create_if_missing
Thanks for the quick replies, that solved it. The other tip I got in a
private email was to put the create_if_missing at the end as well. The
link that works looks like:

https://toddlandrumtest.pbwiki.com/api_v2/?op=PutPage&page=TestingAPI...


    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
©2009 Google