feat(attachments): 补充附件管理接口
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user