dot graph map
[kismet-logviewer.git] / logviewer / logviewer / urls.py
1 """logviewer URL Configuration
2
3 The `urlpatterns` list routes URLs to views. For more information please see:
4     https://docs.djangoproject.com/en/4.1/topics/http/urls/
5 Examples:
6 Function views
7     1. Add an import:  from my_app import views
8     2. Add a URL to urlpatterns:  path('', views.home, name='home')
9 Class-based views
10     1. Add an import:  from other_app.views import Home
11     2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
12 Including another URLconf
13     1. Import the include() function: from django.urls import include, path
14     2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
15 """
16 from django.contrib import admin
17 from django.urls import include, path
18 from django.http import HttpResponse
19
20 urlpatterns = [
21     path('', include('browse.urls')),
22     path('admin/', admin.site.urls),
23     path('dbview/', include('dbview.urls')),
24     path('devices/views/all_views.json', include('dbview.urls')),
25     path('system/user_status.json', include('dbview.urls')),
26     path('session/check_setup_ok', include('dbview.urls')),
27     path('session/check_login', include('dbview.urls')),
28     path('js/<str:loadfile>', include('kiscontent.urls')),
29     path('css/<str:loadfile>', include('kiscontent.urls')),
30     path('images/<str:loadfile>', include('kiscontent.urls')),
31     path('fonts/<str:loadfile>', include('kiscontent.urls')),
32     path('favicon.ico', include('kiscontent.urls')),
33     path('dynamic.js', include('dbview.urls')),
34     path('gps/location.json', include('dbview.urls')),
35     path('alerts/alerts_view.json', include('dbview.urls')),
36     path('phy/phy80211/ssids/views/ssids.json', include('dbview.urls')),
37     path('css/images/<str:loadfile>', include('kiscontent.urls')),
38     path('adsb_map_panel.html', include('adsbmap.urls')),
39     path('russ_map_panel.html', include('russmap.urls')),
40     path('dot_map_panel.html', include('dotmap.urls')),
41     path('system/status.json', include('dbview.urls')),
42     path('alerts/wrapped/last-time/0/alerts.json', include('dbview.urls')),
43     path('messagebus/last-time/0/messages.json', include('dbview.urls')),
44     path('channels/channels.json', include('dbview.urls')),
45     path('devices/views/all/devices.json', include('dbview.urls')),
46     path('devices/views/phydot11_accesspoints/devices.json', include('dbview.urls')),
47     path('devices/views/phy-RADIATION/devices.json', include('dbview.urls')),
48     path('devices/views/phy-802.15.4/devices.json', include('dbview.urls')),
49     path('devices/views/phy-RTLADSB/devices.json', include('dbview.urls')),
50     path('devices/views/phy-RTLAMR/devices.json', include('dbview.urls')),
51     path('devices/views/phy-BTLE/devices.json', include('dbview.urls')),
52     path('devices/views/phy-NrfMousejack/devices.json', include('dbview.urls')),
53     path('devices/views/phy-UAV/devices.json', include('dbview.urls')),
54     path('devices/views/phy-Bluetooth/devices.json', include('dbview.urls')),
55     path('devices/views/phy-Z-Wave/devices.json', include('dbview.urls')),
56     path('devices/views/phy-RTL433/devices.json', include('dbview.urls')),
57     path('devices/views/phy-IEEE802.11/devices.json', include('dbview.urls')),
58     path('phy/ADSB/map_data.json', include('dbview.urls')),
59     path('phy/RUSS/map_data.json', include('dbview.urls')),
60     path('phy/DOT/map_data.json', include('dbview.urls')),
61     path('devices/by-key/<str:devicename>/device.json', include('devices.urls')),
62     path('devices/multikey/as-object/devices.json', include('dbview.urls')),
63     path('datasource/by-uuid/<str:devicename>/source.json', include('devices.urls')),
64     path('phy/phy80211/ssids/by-hash/<str:devicename>/ssid.json', include('devices.urls')),
65     path('eventbus/', include('eventbus.urls')),
66 ]