50 lines
1.3 KiB
Python
50 lines
1.3 KiB
Python
from django.urls import path
|
|
|
|
from .file_summary.views import (
|
|
attachment_detail,
|
|
attachments,
|
|
batch_events,
|
|
batch_status,
|
|
conversation_messages,
|
|
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/conversations/<int:conversation_id>/messages/",
|
|
conversation_messages,
|
|
name="review_agent_conversation_messages",
|
|
),
|
|
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",
|
|
),
|
|
]
|