I'm attempting to work with the Admin Audit API. I believe I have OAuth 2.0 authentication details set as they need to be but no matter what parameters I try, I always get back a nearly empty JSON response. For simplicities sake, I started with the AppEngine Buzz client at:
http://code.google.com/p/google-api-python-client/source/browse/#hg%2Fsamples%2Fappengine I made sure it worked for me with Buzz and then I switched it to using the Admin Audit API service. Here's my code changes starting at about line 67 of main.py: else: http = httplib2.Http() http = credentials.authorize(http) service = build("audit", "v1", http=http) activities = service.activities() activitylist = activities.list(applicationId='XXXXXXXX', customerId='XXXXXX').execute() self.response.out.write(activitylist) #path = os.path.join(os.path.dirname(__file__), 'welcome.html') all I get back is: {u'kind': u'audit#activities'} I've also tried adding actorEmail, startDate and endDate parameters with identical results. I'm sure there has been activity on my test domain that would show up on the report. Could anybody provide a clue as to why this would be blank? Jay -- 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/-/HMwFVOmCtI0J. 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.
