38 lines
1.1 KiB
Python
38 lines
1.1 KiB
Python
from django.urls import path
|
|
|
|
from .file_summary.views import attachment_detail, attachments, batch_events, batch_status, export_download
|
|
|
|
|
|
urlpatterns = [
|
|
path(
|
|
"api/review-agent/conversations/<int:conversation_id>/attachments/",
|
|
attachments,
|
|
name="file_summary_attachment_upload",
|
|
),
|
|
path(
|
|
"api/review-agent/conversations/<int:conversation_id>/attachments/",
|
|
attachments,
|
|
name="file_summary_attachment_list",
|
|
),
|
|
path(
|
|
"api/review-agent/conversations/<int:conversation_id>/attachments/<int:attachment_id>/",
|
|
attachment_detail,
|
|
name="file_summary_attachment_detail",
|
|
),
|
|
path(
|
|
"api/review-agent/file-summary/<int:batch_id>/status/",
|
|
batch_status,
|
|
name="file_summary_batch_status",
|
|
),
|
|
path(
|
|
"api/review-agent/file-summary/<int:batch_id>/events/",
|
|
batch_events,
|
|
name="file_summary_batch_events",
|
|
),
|
|
path(
|
|
"api/review-agent/file-summary/exports/<int:export_id>/download/",
|
|
export_download,
|
|
name="file_summary_export_download",
|
|
),
|
|
]
|