# Path: privacyscore/api/views.py
# def get_scan_lists(request: Request) -> Response:
# def get_scan_list_by_token(request: Request, token: str) -> Response:
# def save_scan_list(request: Request) -> Response:
# def update_scan_list(request: Request, scan_list_id: int) -> Response:
# def delete_scan_list(request: Request, token: str) -> Response:
# def search_scan_lists(request: Request) -> Response:
# def scan_scan_list(request: Request, scan_list_id: int) -> Response:
# def save_site(request: Request) -> Response:
# def scan_result(request: Request, scan_id: int) -> Response:


from django.conf.urls import url
from privacyscore.api import views


app_name = 'api'
urlpatterns = [
    url(r'^list/$', views.get_scan_lists, name='get_scan_lists'),
    url(r'^list/search/$', views.search_scan_lists, name='search_scan_lists'),

# Path: privacyscore/api/views.py
# def get_scan_lists(request: Request) -> Response:
# def get_scan_list_by_token(request: Request, token: str) -> Response:
# def save_scan_list(request: Request) -> Response:
# def update_scan_list(request: Request, scan_list_id: int) -> Response:
# def delete_scan_list(request: Request, token: str) -> Response:
# def search_scan_lists(request: Request) -> Response:
# def scan_scan_list(request: Request, scan_list_id: int) -> Response:
# def save_site(request: Request) -> Response:
# def scan_result(request: Request, scan_id: int) -> Response:


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



app_name = 'api'
urlpatterns = [
    url(r'^list/$', views.get_scan_lists, name='get_scan_lists'),
    url(r'^list/search/$', views.search_scan_lists, name='search_scan_lists'),

    url(r'^list/by_token/(?P<token>\w+)/$', views.get_scan_list_by_token,