frogress/frog_api/urls.py

23 lines
550 B
Python
Raw Normal View History

2022-08-21 11:25:44 +00:00
from django.urls import path, re_path
2022-08-19 10:35:05 +00:00
from frog_api import views
urlpatterns = [
path("projects/", views.ProjectView.as_view()),
2022-08-21 11:25:44 +00:00
path(
"data/",
views.RootDigestView.as_view(),
),
re_path(
"data/(?P<project>.+)/$",
views.ProjectDigestView.as_view(),
),
# re_path(
# "data/(?P<project>.+)/(?P<version>.+)/$",
# views.EntryView.as_view(),
# ),
# re_path(
# "data/(?P<project>.+)/(?P<version>.+)/(?P<category>.+)/$",
# views.EntryView.as_view(),
# ),
2022-08-19 10:35:05 +00:00
]