~cypheon/trakka

ref: e30fe514a2dd8f4e81d8cf3910e604f8faffa1a0 trakka/activities/urls.py -rw-r--r-- 736 bytes
e30fe514 — Johann Rudloff Take climbed meters into account when estimating energy expenditure 1 year, 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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('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'),
]