frogress/frog_api/urls.py

23 lines
551 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-24 01:58:55 +00:00
re_path(
"data/(?P<project>.+)/(?P<version>.+)/(?P<category>.+)/$",
views.CategoryDigestView.as_view(),
),
2022-08-22 08:54:38 +00:00
re_path(
"data/(?P<project>.+)/(?P<version>.+)/$",
views.VersionDigestView.as_view(),
2022-08-21 11:25:44 +00:00
),
re_path(
"data/(?P<project>.+)/$",
views.ProjectDigestView.as_view(),
),
2022-08-22 08:54:38 +00:00
path(
"data/",
views.RootDigestView.as_view(),
),
2022-08-19 10:35:05 +00:00
]