~cypheon/trakka

ref: a14c69be685a87d332f954572143907fe63e2acb trakka/activities/urls.py -rw-r--r-- 821 bytes
a14c69be — Johann Rudloff Implement saving health measurements 1 year, 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from django.urls import path

from . import views
from . import rest

app_name = 'activities'
urlpatterns = [
    path('', views.index, name='index'),
    path('profile', views.profile, name='profile'),
    path('health', views.health, name='health'),
    path('health/measurement', views.health_measurement, name='health-measurement'),
    path('trigger/schedule', views.schedule, name='trigger-schedule'),
    path('upload', views.upload, name='upload'),
    path('activities', views.overview, name='overview'),
    path('activities/<int:activity_id>', views.summary, name='summary'),
    path('graphs/hrzones/<int:activity_id>', views.graph_hr_zones, name='graph-hrzones'),
    path('api/v1/activities', rest.activity_upload, name='rest_upload'),
    path('api/v1/import', rest.transfer_import, name='rest_import'),
]