如要擷取網域中所有使用者的所有裝置稽核事件,請使用
GET HTTP 要求,並加入
授權說明文件。
如需進一步瞭解要求查詢字串和回應屬性
看
裝置稽核活動事件:
為了方便閱讀,下列範例採用換行格式:
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all
/applications/mobile?endTime=end date&startTime=start date
&maxResults=maximum number of events returned on a response page
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/mobile?customerId=C03az79cb
依事件名稱擷取裝置稽核事件
在某些情況下,您可能會想要擷取
事件、
例如可疑的活動事件方法是在以下項目中使用 GET HTTP 要求:
格式如下:
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all
/applications/mobile?maxResults=maximum number of events returned on a response page
&eventName=name of the event
&filters=event parameterrelational operatorparameter value
以下範例說明如何擷取
網域中的 Android 使用者:
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/mobile?eventName=SUSPICIOUS_ACTIVITY_EVENT&filters=DEVICE_TYPE==ANDROID&maxResults=25