10 lines
400 B
Python
10 lines
400 B
Python
|
|
from django.urls import path
|
||
|
|
|
||
|
|
from .views import DeviceHandshakeView, SensorIngestView, SensorPayloadListView
|
||
|
|
|
||
|
|
urlpatterns = [
|
||
|
|
path("devices/handshake/", DeviceHandshakeView.as_view(), name="device-handshake"),
|
||
|
|
path("payloads/ingest/", SensorIngestView.as_view(), name="sensor-ingest"),
|
||
|
|
path("payloads/<uuid:sensor_uuid>/", SensorPayloadListView.as_view(), name="sensor-payload-list"),
|
||
|
|
]
|