Add organizations v2 API and registry enrichment
This commit is contained in:
10
src/core/api_v2_urls.py
Normal file
10
src/core/api_v2_urls.py
Normal file
@@ -0,0 +1,10 @@
|
||||
"""API v2 URL configuration."""
|
||||
|
||||
from django.urls import include, path
|
||||
from organizations.urls import organizations_urlpatterns
|
||||
|
||||
app_name = "api_v2"
|
||||
|
||||
urlpatterns = [
|
||||
path("", include((organizations_urlpatterns, "organizations"))),
|
||||
]
|
||||
@@ -71,6 +71,7 @@ urlpatterns = [
|
||||
path("admin/", admin.site.urls),
|
||||
path("health/", include("apps.core.urls")),
|
||||
path("api/v1/", include("core.api_v1_urls", namespace="api_v1")),
|
||||
path("api/v2/", include("core.api_v2_urls", namespace="api_v2")),
|
||||
path("auth/", include("rest_framework.urls")),
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user