"""This module contains the api-related urls of the ``evaluations`` app"""

from macrosurl import url

from . import views

urlpatterns = [
    url(
        r'^users/:user_uuid/spidergraph/:eval_uuid$',
        views.evaluation_get_result,
        name='evaluation_get_result'
    ),
    url(
        r'^spidergraph/:eval_uuid$',
        views.evaluation_get_result,
        name='evaluation_get_result_all'
    ),
    url(
        r'^users/:user_uuid/spidergraph/save/text$',
        views.evaluation_save_criteria_text,
        name='evaluation_save_criteria_text'),
    url(
        r'^users/:user_uuid/spidergraph/save/num$',
        views.evaluation_save_criteria_num,
        name='evaluation_save_criteria_num'
    ),
    url(
        r'^spidergraph/:eval_uuid$',
        views.evaluation_get_result,
        name='evaluation_get_result_all'
    ),
]
