feat: complete moderation history dashboard
CI / backend-and-migrations (push) Canceled after 0s
CI / astro-build (push) Canceled after 0s
CI / dependency-audit (push) Canceled after 0s
CI / compose-e2e (push) Canceled after 0s

This commit is contained in:
ik
2026-09-13 09:07:32 +07:00
parent 392e1e534a
commit c6ffded8d7
7 changed files with 103 additions and 4 deletions
+57
View File
@@ -2636,6 +2636,63 @@
"summary": "Admin Moderation History"
}
},
"/api/v1/admin/moderation-history-export": {
"get": {
"description": "Return an anonymized, analysis-safe decision export.",
"operationId": "admin_moderation_history_export_api_v1_admin_moderation_history_export_get",
"parameters": [
{
"in": "query",
"name": "limit",
"required": false,
"schema": {
"default": 1000,
"maximum": 5000,
"minimum": 1,
"title": "Limit",
"type": "integer"
}
},
{
"in": "header",
"name": "authorization",
"required": false,
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Authorization"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"summary": "Admin Moderation History Export"
}
},
"/api/v1/baits": {
"get": {
"operationId": "baits_api_v1_baits_get",