I'm trying to follow the docs on using batch with gdata apis<http://code.google.com/apis/gdata/docs/batch.html>however it says to run a get request against the regular feed however 1) the example fails, curl http://www.google.com/base/feeds/items , returns 502 internal server error 2) for https://apps-apis.google.com/a/feeds/compliance/audit/DOMAIN/USER (or any sub part) I get "Invalid request URI" ( I got the request URL from the docs on using email audit api<https://developers.google.com/google-apps/email-audit/#creating_a_request_for_a_users_account_information> .
While the specific problem I'm hitting here is that I need to be able get the audit logs (specifically the Login IPs) for all the users in a domain with over 500 users and I think if I batch the API calls I can avoid the 1000 calls/domain/day limit. I'm fairly new to google using the APIs so I might be doing it completely wrong, I'm assuming the following 1) When google say execute execute: GET URL an unauthenticated > curl URL should work on public facing URLs right? 2) If authentication is needed the easiest way to do this (for one off scripts and testing) is to follow this<https://developers.google.com/google-apps/email-audit/#authenticating_requests>, then extract the AUTH part and use > curl --header "Authorization: GoogleLogin auth=$AUTH" "$URL" > 3) The best way to get the login IPs is to use SSO and handle the entire authentication myself, but if that isn't an option email audit is the only API that gives me what I want for a whole domain 4) Is there a better way to explore the APIs than the docs + curl? 5) Looking through gdata, it may be able to handle batching<http://code.google.com/p/gdata-python-client/wiki/UsingBatchOperations>, but I can't find any docs on using the email audit API to get account activity with it. -- You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-apps-mgmt-apis/-/k2FE6C2eWZgJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-apps-mgmt-apis?hl=en.
