跳转到内容
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!
Support
This is the documentation of 25.6.2, which is no longer the latest release. See the latest release.

Export audit logs as CSV according filter conditions

GET
/admin/audit-logs/export
curl --request GET \
--url https://gitea.example.com/api/v1/admin/audit-logs/export \
--header 'Authorization: Basic <credentials>'

Gitea Enterprise only. This endpoint is not part of the community edition.

q
string

Search keyword for operator name

operator_id
integer format: int64

ID of the operator to search for

operation_type
string

Operation type to filter by

start_unix
integer format: int64

Start time in unix timestamp

end_unix
integer format: int64

End time in unix timestamp

APIString is a string response

Media typetext/csv
string

APIForbiddenError is a forbidden error response

Media typetext/csv
message
string
url
string