cbma_expert/ce_server/apps/monitor/urls.py

11 lines
289 B
Python

from django.urls import path, include
from rest_framework import routers
from .views import ServerInfoView, LogView, LogDetailView
urlpatterns = [
path('log/', LogView.as_view()),
path('log/<str:name>/', LogDetailView.as_view()),
path('server/', ServerInfoView.as_view()),
]