summaryrefslogtreecommitdiff
path: root/experiment/urls.py
blob: afc5d8af0d54b28b629d6d7c4439995546e581fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from django.conf.urls import url

from . import views

urlpatterns = [
	 # Following to are for backward incompatibility
    url(r'^hardware/checkconnection/?$', views.check_connection, name='hardware_checkconnection'),
    url(r'^hardware/clientversion/?$', views.client_version, name='hardware_clientversion'),

    url(r'^experiment/check_connection/?$', views.check_connection, name='experiment_check_connection'),
    url(r'^experiment/client_version/?$', views.client_version, name='experiment_client_version'),
    url(r'^experiment/initiallogin/?$', views.initial_login, name='experiment_initial'),
    url(r'^experiment/reset/?$', views.reset, name='experiment_reset'),
    url(r'^experiment/logs/?$', views.logs, name='experiment_logs'),
    url(r'^experiment/logs/([0-9]+)/(.+)?$', views.download_log, name='experiment_logs'),

    url(r'^admin/validate_log_file/?$', views.validate_log_file, name='experiment_validate_log'),
]