# Path: assessment/views/api/survey.py
# def create_survey(request):
# def update_survey(request, uuid):
# def retrieve_survey(request, uuid):
# def list_surveys(request):
# def delete_survey(request, uuid):


from django.conf.urls import url
from assessment.views.api import survey
# -*- coding: utf-8 -*-


urlpatterns = [
    url(
        regex=r'^$',
        view=survey.list_surveys,
        name='list_surveys',
    ),
    url(
        regex=r'^create/$',
        view=survey.create_survey,
        name='create_survey',
    ),
    url(
        regex=r'^update/(?P<uuid>[-\w]+)/$',
        view=survey.update_survey,
        name='update_survey',
    ),
    url(
        regex=r'^(?P<uuid>[-\w]+)/$',
        view=survey.retrieve_survey,
        name='retrieve_survey',
    ),
    url(
        regex=r'^delete/(?P<uuid>[-\w]+)/$',

# Path: assessment/views/api/survey.py
# def create_survey(request):
# def update_survey(request, uuid):
# def retrieve_survey(request, uuid):
# def list_surveys(request):
# def delete_survey(request, uuid):


# Path: assessment/urls/api/survey.py
from django.conf.urls import url
from assessment.views.api import survey

# -*- coding: utf-8 -*-


urlpatterns = [
    url(
        regex=r'^$',
        view=survey.list_surveys,
        name='list_surveys',
    ),
    url(
        regex=r'^create/$',
        view=survey.create_survey,
        name='create_survey',
    ),
    url(
        regex=r'^update/(?P<uuid>[-\w]+)/$',
        view=survey.update_survey,
        name='update_survey',
    ),
    url(
        regex=r'^(?P<uuid>[-\w]+)/$',
        view=survey.retrieve_survey,
        name='retrieve_survey',
    ),
    url(
        regex=r'^delete/(?P<uuid>[-\w]+)/$',

        view=survey.delete_survey,