Files
bugsink/ingest/urls.py
2025-11-04 10:47:04 +01:00

13 lines
509 B
Python

from django.urls import path
from .views import IngestEventAPIView, IngestEnvelopeAPIView, MinidumpAPIView
urlpatterns = [
# project_pk has to be an int per Sentry Client expectations.
path("<int:project_pk>/store/", IngestEventAPIView.as_view()),
path("<int:project_pk>/envelope/", IngestEnvelopeAPIView.as_view()),
# is this "ingest"? it is at least in the sense that it matches the API schema and downstream auth etc.
path("<int:project_pk>/minidump/", MinidumpAPIView.as_view()),
]