[Google-Docs-Data-APIs] Re: Remove all Collaborators

2009-04-02 Thread Daniel Marashlian
that worked :) thanks Eric! For future users of this feature, you should update the documentation on the developer's guide: http://code.google.com/apis/documents/docs/2.0/developers_guide_protocol.html#ACLBatch thanks again! Daniel On Apr 2, 10:36 am, Eric Bidelman wrote: > Try including the

[Google-Docs-Data-APIs] Re: Remove all Collaborators

2009-04-02 Thread Eric Bidelman
Try including the and elements in your delete entries. They shouldn't be required, but I had some luck after adding them. Eric On Thu, Apr 2, 2009 at 9:04 AM, Daniel Marashlian wrote: > > I tried almost everything I can think of and it's still not working. > > I copied the code from the develo

[Google-Docs-Data-APIs] Re: Remove all Collaborators

2009-04-02 Thread Daniel Marashlian
I tried almost everything I can think of and it's still not working. I copied the code from the developers guide on batch processing again and tested it. The first 3 statments work (GET, INSERT, UPDATE) but the DELETE fails. Is something wrong with the servers or the sample code? Daniel On Apr

[Google-Docs-Data-APIs] Re: Remove all Collaborators

2009-04-01 Thread Daniel Marashlian
this is the reply I get back from your servers: http://docs.google.com/feeds/acl/private/full/document %3Adf2qg349_2042dw8s8cg 2009-04-01T23:54:19.368Z Batch Feed http://docs.google.com/feeds/acl/private/full/document %3Adf2qg349_2042dw8s8cg/fatal 2009-04-01T23:54:19.381Z

[Google-Docs-Data-APIs] Re: Remove all Collaborators

2009-04-01 Thread Daniel Marashlian
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... http://docs.google.com/feeds/acl/private/full/document %3Adf2qg349_2042dw8s8cg/user%3Adaniel%40pelotonics.com that's the XML I'm using. I'm usi

[Google-Docs-Data-APIs] Re: Remove all Collaborators

2009-04-01 Thread Eric Bidelman
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 . Your entry s should correspond to each from the fetched results. POST /feeds/acl/private/full/document%3Adocument_id/