feat(runtime): add bulk purge for archived queue tasks and chat_attachment i18n
Operators can clear all finally-failed tasks in one queue from the runtime drawer, with audit logging and scoped API access. Also localize the chat_attachment queue label in the runtime queue details table.
This commit is contained in:
@@ -11972,6 +11972,35 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/system/admin/runtime/queues/{queue}/archived": {
|
||||
"delete": {
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"System Admin"
|
||||
],
|
||||
"summary": "Purge all archived tasks in a queue",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Queue name",
|
||||
"name": "queue",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/system/admin/runtime/queues/{queue}/tasks": {
|
||||
"get": {
|
||||
"produces": [
|
||||
@@ -14939,6 +14968,7 @@ const docTemplate = `{
|
||||
"system.queue_task_deleted",
|
||||
"system.queue_task_run_now",
|
||||
"system.queue_task_cancelled",
|
||||
"system.queue_archived_purged",
|
||||
"kb.created",
|
||||
"kb.updated",
|
||||
"kb.deleted",
|
||||
@@ -15001,6 +15031,7 @@ const docTemplate = `{
|
||||
"AuditActionSystemQueueTaskDeleted",
|
||||
"AuditActionSystemQueueTaskRunNow",
|
||||
"AuditActionSystemQueueTaskCancelled",
|
||||
"AuditActionSystemQueueArchivedPurged",
|
||||
"AuditActionKBCreated",
|
||||
"AuditActionKBUpdated",
|
||||
"AuditActionKBDeleted",
|
||||
|
||||
Reference in New Issue
Block a user