Mosqkiller-API/apps/counter/api/urls.py

9 lines
271 B
Python

from django.urls import path
from .views import DeviceLogsListAPIView, DeviceInfoListAPIView
app_name = 'counter-api'
urlpatterns = [
path('logs/', DeviceLogsListAPIView.as_view(), name='logs'),
path('device/', DeviceInfoListAPIView.as_view(), name='device'),
]