yea, that's what I'm trying now... As you know I figured out the Batch
Processing for inserting collaborators. So I'm trying to delete them
now...

<feed xmlns='http://www.w3.org/2005/Atom' xmlns:gAcl='http://
schemas.google.com/acl/2007' xmlns:batch='http://schemas.google.com/
gdata/batch'>
<category scheme='http://schemas.google.com/g/2005#kind' term='http://
schemas.google.com/acl/2007#accessRule'/>
<entry>
<id>http://docs.google.com/feeds/acl/private/full/document
%3Adf2qg349_2042dw8s8cg/user%3Adaniel%40pelotonics.com</id>
<batch:operation type='delete'/>
</entry>
</feed>

that's the XML I'm using. I'm using the same function to POST as I did
for the ACL inserts for new collaborators, I'm just changing the XML
now to delete the users.

it's not working... hmmm...

D

On Apr 1, 4:39 pm, Eric Bidelman <api.e...@google.com> wrote:
> That isn't supported directly, but building something similar is
> relatively straightforward.
>
> First, fetch the doc's acl feed.  Then construct a
> batch acl feed by iterating over <entry>.
> Your entry <id>s should correspond to
> each <link rel='edit'...> from the fetched results.
>
> POST /feeds/acl/private/full/document%3Adocument_id/batch
> <feed>
> <entry>
>     
> <id>http://docs.google.com/feeds/acl/private/full/document%3Adocument_id/...
> </id>
>     <batch:operation type='delete'/>
>  </entry>
> <entry>
>     
> <id>http://docs.google.com/feeds/acl/private/full/document%3Adocument_id/...
> </id>
>     <batch:operation type='delete'/>
>   </entry>
> ...
> </feed>
>
> Eric
>
> On Wed, Apr 1, 2009 at 4:18 PM, Daniel Marashlian <daniel...@gmail.com>wrote:
>
>
>
> > Does the API have the same functionality as the front end "remove all"
> > link for the sharing section?
>
> > watch this:http://screencast.com/t/2MwtXihS
>
> > thanks!
> > Daniel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Docs Data APIs" group.
To post to this group, send email to Google-Docs-Data-APIs@googlegroups.com
To unsubscribe from this group, send email to 
google-docs-data-apis+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to