I’m attempting to set multiple ACLs in one batch request from appengine (JAVA). I am not sure what the URL should be for making the request. The documentation states “/batch”. Are there anymore examples available? AFAIK this is not possible to test from the API explorer.
I’m attempting to set multiple ACLs in one batch request from appengine (JAVA). I
Share
Using the google-api-java-client library and the Storage JSON API, a batch request would look like this:
Note that you’ll have to request access to the Storage JSON API at the moment, as it’s in limited beta.
Relevant API documentation is here: https://developers.google.com/storage/docs/json_api/v1/objectAccessControls
Documentation about batch requests in the Java client library: https://code.google.com/p/google-api-java-client/wiki/Batch
JavaDoc for the Storage Java client library: https://google-api-client-libraries.appspot.com/documentation/storage/v1beta1/java/latest/index.html