feat(attachments): 补充附件管理接口

This commit is contained in:
2026-06-06 22:45:14 +08:00
parent 3c6ec67371
commit 0fca20756b
3 changed files with 188 additions and 1 deletions

View File

@@ -1,16 +1,23 @@
from django.urls import path
from .file_summary.views import (
attachment_download,
attachment_detail,
attachments,
batch_events,
batch_status,
conversation_list,
conversation_messages,
export_download,
)
urlpatterns = [
path(
"api/review-agent/conversations/",
conversation_list,
name="review_agent_conversation_list",
),
path(
"api/review-agent/conversations/<int:conversation_id>/attachments/",
attachments,
@@ -26,6 +33,11 @@ urlpatterns = [
attachment_detail,
name="file_summary_attachment_detail",
),
path(
"api/review-agent/conversations/<int:conversation_id>/attachments/<int:attachment_id>/download/",
attachment_download,
name="file_summary_attachment_download",
),
path(
"api/review-agent/conversations/<int:conversation_id>/messages/",
conversation_messages,