GET/audits/logs/download
監査ログをCSV形式でダウンロードするためのURLを取得する。 対象ドメインの最高管理者、副管理者またはService Accountのみ利用可能。
注意
- 複数のダウンロードの同時実行、1分未満の間隔での連続したダウンロードはご遠慮ください。
- ダウンロード中のエラー発生時、ファイルの最後尾に「downloadLogs error」 とエラーメッセージを出力する。
- リダイレクトされたURLは、一定期間を過ぎると無効になります。最新のダウンロードURLを取得してください。
Authorization URL - https://auth.worksmobile.com/oauth2/v2.0/authorize
Token URL - https://auth.worksmobile.com/oauth2/v2.0/token
Refresh URL - https://auth.worksmobile.com/oauth2/v2.0/token
audit.read
audit
Parameter | Type | Description |
---|---|---|
service | string | 監査ログのサービスタイプ
required Allowed values : admin, board, drive, calendar, contact, task, form, share, note, received-mail, sent-mail, deleted-mail, message, call, template, mobile-capture, developer, auth, file-download |
startTime | string | 取得開始日 (YYYY-MM-DDThh:mm:ssTZD) required example : 2021-11-01T00:00:00%2B09:00 |
endTime | string | 取得終了日 (YYYY-MM-DDThh:mm:ssTZD) required example : 2021-11-30T23:59:59%2B09:00 |
language | string | ダウンロードするCSVファイルの言語 default : en_US Allowed values : ja_JP, ko_KR, zh_CN, zh_TW, en_US |
botMessageFilterType | string | Botトークメッセージフィルタータイプ
default : include Allowed values : include, exclude, only |
domainId | integer | ドメインID (グループ企業の場合、別のドメインのログを取得する場合に指定する) example : 10000001 format : int32 |
Header | type | Description |
---|---|---|
Authorization | string | Bearer {token} required |
Found - LocationヘッダーのダウンロードURLにリダイレクト