Exports audit logs.
Operation description
Log audit is a value-added feature that is provided by Drive and Photo Service (PDS) Developer Edition. Before you call this operation, make sure that you learn about the value-added billable items.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
POST /v2/audit_log/export HTTP/1.1
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| body | object | No | The request body. | |
| query | string | No | The fields used for query. You can specify one or more of the following fields:
| acted_at > '2025-03-10T16:00:00' and acted_at < '2025-03-17T15:59:59' |
| order_by | string | No | The sort order based on the operation time. If you leave this parameter empty, the value acted_at DESC is used. Valid values:
| acted_at DESC |
| file_name | string | No | The name of the exported file. The name can be up to 1,024 characters in length. The default name suffix is log.csv. | 2024-01-log.csv |
| language | string | No | The export language. Default value: zh-CN. Valid values:
| zh_CN |
Response parameters
Examples
Sample success responses
JSONformat
{
"async_task_id": "4221bf6e6ab43c255edc4463bf3a6f5f5d31****"
}Error codes
For a list of error codes, visit the Service error codes.
