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/user%3Adeprecated_writer%40example.com
</id>
    <batch:operation type='delete'/>
 </entry>
<entry>
    <id>
http://docs.google.com/feeds/acl/private/full/document%3Adocument_id/user%3Adeprecated_reader%40example.com
</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