Compare commits
No commits in common. "2ec289f3c70d9a12d871dbf46cfca8749af82748" and "57fdcaa0e9fbf14c97aee1384f8c9fb643305574" have entirely different histories.
2ec289f3c7
...
57fdcaa0e9
1 changed files with 3 additions and 7 deletions
10
api/urls.py
10
api/urls.py
|
|
@ -28,12 +28,8 @@ urlpatterns = [
|
|||
path("session/", SessionView.as_view(), name='api-session'),
|
||||
path("whoami/", WhoAmIView.as_view(), name='api-whoami'),
|
||||
path("<uuid:pk>/telemetry/", TelemetryListCreateView.as_view(), name="create_telemetry"),
|
||||
path('saved-points/', SavedPointViewset.as_view({'get': 'list', 'post': 'create'}), name='saved_points'),
|
||||
path('saved-points/<int:pk>/', SavedPointViewset.as_view({'get': 'retrieve', 'put': 'update', 'delete': 'destroy'}), name='saved_point_detail'),
|
||||
path('csrf/', get_csrf, name='api-csrf'),
|
||||
path('login/', login_view, name='api-login'),
|
||||
path('logout/', logout_view, name='api-logout'),
|
||||
path('session/', SessionView.as_view(), name='api-session'), # new
|
||||
path('whoami/', WhoAmIView.as_view(), name='api-whoami'), # new
|
||||
]
|
||||
|
||||
|
||||
|
||||
urlpatterns += router.urls
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue