Files
DEMO-AGENT/review_agent/urls.py

68 lines
1.9 KiB
Python

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,
)
from .regulatory_review.views import batch_status as regulatory_review_batch_status
urlpatterns = [
path(
"api/review-agent/conversations/",
conversation_list,
name="review_agent_conversation_list",
),
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>/attachments/<int:attachment_id>/download/",
attachment_download,
name="file_summary_attachment_download",
),
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",
),
path(
"api/review-agent/regulatory-review/<int:batch_id>/status/",
regulatory_review_batch_status,
name="regulatory_review_batch_status",
),
]